Skip to content

Commit f533f2c

Browse files
committed
fix(noir): noirfmt nested_utility_contract main.nr
1 parent 93c64ce commit f533f2c

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

  • noir-projects/noir-contracts/contracts/test/nested_utility_contract/src

noir-projects/noir-contracts/contracts/test/nested_utility_contract/src/main.nr

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ mod test;
88

99
#[aztec]
1010
pub contract NestedUtility {
11+
use crate::pow_note::PowNote;
1112
use aztec::macros::{functions::external, storage::storage};
1213
use aztec::{
1314
messages::message_delivery::MessageDelivery,
1415
protocol::address::AztecAddress,
1516
state_vars::{Owned, PrivateMutable},
1617
};
17-
use crate::pow_note::PowNote;
1818

1919
#[storage]
2020
struct Storage<Context> {
@@ -53,10 +53,7 @@ pub contract NestedUtility {
5353

5454
/// Cross-contract version: calls pow_from_storage on the target contract.
5555
#[external("utility")]
56-
unconstrained fn delegate_pow_from_storage(
57-
target: AztecAddress,
58-
owner: AztecAddress,
59-
) -> Field {
56+
unconstrained fn delegate_pow_from_storage(target: AztecAddress, owner: AztecAddress) -> Field {
6057
self.call(NestedUtility::at(target).pow_from_storage(owner))
6158
}
6259

0 commit comments

Comments
 (0)