File tree Expand file tree Collapse file tree
noir-projects/noir-contracts/contracts/test/nested_utility_contract/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ mod test;
88
99#[aztec]
1010pub 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
You can’t perform that action at this time.
0 commit comments