Skip to content

Commit

Permalink
test: Update test expectations for test(_supernova)?_pp_digest
Browse files Browse the repository at this point in the history
- Updated expected digest in pp digest tests,
- see privacy-scaling-explorations/halo2curves#110 for the upstream change
  • Loading branch information
huitseeker committed Jan 11, 2024
1 parent f871a37 commit a646840
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1139,12 +1139,12 @@ mod tests {
test_pp_digest_with::<Secp256k1Engine, Secq256k1Engine, _, _, EE<_>, EE<_>>(
&trivial_circuit1_secp,
&trivial_circuit2_secp,
&expect!["7652ef8326b01e784eaac7b44bd0bc2f27af3904c96ef2bf7ab1b923b8aae701"],
&expect!["fd2ff9d03e5512c66014399352ce0a8d722fe9c95005067ca05fe5ce84aabb02"],
);
test_pp_digest_with::<Secp256k1Engine, Secq256k1Engine, _, _, EE<_>, EE<_>>(
&cubic_circuit1_secp,
&trivial_circuit2_secp,
&expect!["da51e6bac881c054c4ed08320ce42d8a0e61a22fbd70bbbbf05384ec4adeb201"],
&expect!["1e4526ea166c8cccb685bd065ba82438b3ba89e24612d3e071fd30a6065c2b03"],
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/supernova/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ fn test_supernova_pp_digest() {

test_pp_digest_with::<Secp256k1Engine, Secq256k1Engine, _, _, _>(
&test_rom_secp,
&expect!["326db6480944b0869a524ff22e71e9cff0f900728845679da5d9615cf78a2903"],
&expect!["e955513a59f75c63bc0649425045e6e472bddf4490a558e95bfcab14b4911a00"],
);
}

Expand Down

0 comments on commit a646840

Please sign in to comment.