Skip to content

Commit

Permalink
Update noir-projects/aztec-nr/aztec/src/keys/getters.nr
Browse files Browse the repository at this point in the history
Co-authored-by: esau <[email protected]>
  • Loading branch information
benesjan and sklppy88 authored May 6, 2024
1 parent f52c285 commit dbbc44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noir-projects/aztec-nr/aztec/src/keys/getters.nr
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::{
}
};

// Note: In fetch_key_from_registry we expect that shared mutable slow is index * 2 + 1 for x coordinate
// Note: In fetch_key_from_registry we expect that the shared mutable slot is index * 2 + 1 for the x coordinate. For example, the npk_m x coordinates will be stored in a map at storage slot 1. (0) * 2 + 1 = 1, and the novk_m y coordinates will be stored in a map at storage slot 6. (2) * 2 + 2 = 6.
// and index * 2 + 2 for the y coordinate. If this changes the function will need to be refactored.
global NULLIFIER_INDEX = 0;
global INCOMING_INDEX = 1;
Expand Down

0 comments on commit dbbc44b

Please sign in to comment.