diff --git a/noir-projects/aztec-nr/value-note/src/utils.nr b/noir-projects/aztec-nr/value-note/src/utils.nr index 66f9b998388..8d88fc6ef0a 100644 --- a/noir-projects/aztec-nr/value-note/src/utils.nr +++ b/noir-projects/aztec-nr/value-note/src/utils.nr @@ -1,6 +1,5 @@ use dep::aztec::prelude::{AztecAddress, PrivateContext, PrivateSet, NoteGetterOptions}; use dep::aztec::note::note_getter_options::SortOrder; -use dep::aztec::keys::getters::get_ivpk_m; use crate::{filter::filter_notes_min_sum, value_note::{ValueNote, VALUE_NOTE_LEN}}; // Sort the note values (0th field) in descending order. diff --git a/noir-projects/noir-contracts/contracts/app_subscription_contract/src/main.nr b/noir-projects/noir-contracts/contracts/app_subscription_contract/src/main.nr index 6da684947bf..74cc3d1861b 100644 --- a/noir-projects/noir-contracts/contracts/app_subscription_contract/src/main.nr +++ b/noir-projects/noir-contracts/contracts/app_subscription_contract/src/main.nr @@ -2,24 +2,19 @@ mod subscription_note; mod dapp_payload; contract AppSubscription { - use dep::std; - use crate::dapp_payload::DAppPayload; - - use dep::aztec::prelude::{ + use crate::{dapp_payload::DAppPayload, subscription_note::{SubscriptionNote, SUBSCRIPTION_NOTE_LEN}}; + use dep::{ + aztec::{ + prelude::{ AztecAddress, FunctionSelector, PrivateContext, NoteHeader, Map, PrivateMutable, PublicMutable, SharedImmutable + }, + protocol_types::traits::is_empty + }, + authwit::{account::AccountActions, auth_witness::get_auth_witness, auth::assert_current_call_valid_authwit}, + gas_token::GasToken, token::Token }; - use dep::aztec::protocol_types::traits::is_empty; - - use dep::aztec::{context::Context, keys::getters::get_ivpk_m}; - use dep::authwit::{account::AccountActions, auth_witness::get_auth_witness, auth::assert_current_call_valid_authwit}; - - use crate::subscription_note::{SubscriptionNote, SUBSCRIPTION_NOTE_LEN}; - - use dep::gas_token::GasToken; - use dep::token::Token; - #[aztec(storage)] struct Storage { // The following is only needed in private but we use ShareImmutable here instead of PrivateImmutable because diff --git a/yarn-project/simulator/src/client/private_execution.test.ts b/yarn-project/simulator/src/client/private_execution.test.ts index 3f152e2e7bd..cdcc07bd5a5 100644 --- a/yarn-project/simulator/src/client/private_execution.test.ts +++ b/yarn-project/simulator/src/client/private_execution.test.ts @@ -221,7 +221,7 @@ describe('Private Execution test suite', () => { throw new Error(`Unknown address ${address}`); }); // This oracle gets called when reading ivpk_m from key registry --> we return zero witness indicating that - // the keys were not registered. This triggers non-registered keys flows in which getCompleteAddress oracle + // the keys were not registered. This triggers non-registered keys flow in which getCompleteAddress oracle // gets called and we constrain the result by hashing address preimage and checking it matches. oracle.getPublicDataTreeWitness.mockResolvedValue( new PublicDataWitness(