Skip to content

Commit ffa6184

Browse files
committed
chore: nargo fmt protocol-circuits constants
1 parent e62e175 commit ffa6184

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

noir-projects/noir-protocol-circuits/crates/types/src/constants.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ pub global DOM_SEP__PRIVATE_INITIALIZATION_NULLIFIER: u32 = 3990889078;
765765
/// Domain separator for L1 to L2 message secret hashes.
766766
pub global DOM_SEP__SECRET_HASH: u32 = 4199652938;
767767

768-
/// Domain separator for the secret hash stored in handshake notes produced by the handshake registry contract.
768+
/// Domain separator for the secret hash stored in handshake notes produced by the handshake registry contract.
769769
/// Kept distinct from [`DOM_SEP__SECRET_HASH`] (which is specifically for L1 to L2 messages).
770770
pub global DOM_SEP__HANDSHAKE_SECRET_HASH: u32 = 3596796143;
771771

noir-projects/noir-protocol-circuits/crates/types/src/constants_tests.nr

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,7 @@ fn hashed_values_match_derived() {
171171
DOM_SEP__NON_INTERACTIVE_HANDSHAKE_LOG_TAG,
172172
"non_interactive_handshake_log_tag",
173173
);
174-
tester.assert_dom_sep_matches_derived(
175-
DOM_SEP__HANDSHAKE_SECRET_HASH,
176-
"handshake_secret_hash",
177-
);
174+
tester.assert_dom_sep_matches_derived(DOM_SEP__HANDSHAKE_SECRET_HASH, "handshake_secret_hash");
178175
tester.assert_dom_sep_matches_derived(DOM_SEP__MESSAGE_NULLIFIER, "message_nullifier");
179176
tester.assert_dom_sep_matches_derived(DOM_SEP__PRIVATE_FUNCTION_LEAF, "private_function_leaf");
180177
tester.assert_dom_sep_matches_derived(DOM_SEP__PUBLIC_BYTECODE, "public_bytecode");

0 commit comments

Comments
 (0)