Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed May 3, 2024
1 parent 5c45689 commit ba325af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion noir-projects/aztec-nr/aztec/src/keys.nr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mod getters;
mod point_to_symmetric_key;

use crate::keys::getters::get_fresh_nullifier_public_key_hash;
use crate::keys::getters::{get_npk_m, get_ivpk_m, get_ovpk_m, get_tpk_m};
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contract Test {
use dep::aztec::state_vars::{shared_mutable::SharedMutablePrivateGetter, map::derive_storage_slot_in_map};

use dep::aztec::{
keys::getters::get_fresh_nullifier_public_key_hash,
keys::getters::get_npk_m,
context::{Context, inputs::private_context_inputs::PrivateContextInputs},
hash::{pedersen_hash, poseidon2_hash, compute_secret_hash, ArgsHasher},
note::{
Expand Down Expand Up @@ -435,7 +435,7 @@ contract Test {
address: AztecAddress,
public_nullifying_key: GrumpkinPoint,
) {
assert_eq(get_fresh_nullifier_public_key_hash(&mut context, address), poseidon2_hash(public_nullifying_key.serialize()));
assert_eq(get_npk_m(&mut context, address), poseidon2_hash(public_nullifying_key.serialize()));
}

#[aztec(public)]
Expand Down

0 comments on commit ba325af

Please sign in to comment.