Skip to content

Commit ceb3aa7

Browse files
committed
Fix contract tests
1 parent 120c83b commit ceb3aa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/crypto-verify/tests/integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ fn bls12_381_verifies() {
116116
let signature = hex::decode("82f5d3d2de4db19d40a6980e8aa37842a0e55d1df06bd68bddc8d60002e8e959eb9cfa368b3c1b77d18f02a54fe047b80f0989315f83b12a74fd8679c4f12aae86eaf6ab5690b34f1fddd50ee3cc6f6cdf59e95526d5a5d82aaa84fa6f181e42").unwrap();
117117
let round: u64 = 72785;
118118

119-
let msg = build_bls_message(round, &previous_signature);
119+
let msg = build_drand_message(round, &previous_signature);
120120

121121
let mut serialized = [0; 48];
122122
G1Affine::generator()
@@ -147,7 +147,7 @@ fn bls12_381_errors() {
147147

148148
previous_signature[0] ^= 0x3;
149149

150-
let msg = build_bls_message(round, &previous_signature);
150+
let msg = build_drand_message(round, &previous_signature);
151151

152152
let mut serialized = [0; 48];
153153
G1Affine::generator()

0 commit comments

Comments
 (0)