File tree Expand file tree Collapse file tree
noir-projects/noir-protocol-circuits/crates/types/src Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
766766pub 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).
770770pub global DOM_SEP__HANDSHAKE_SECRET_HASH : u32 = 3596796143 ;
771771
Original file line number Diff line number Diff 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" );
You can’t perform that action at this time.
0 commit comments