Skip to content

Commit

Permalink
fix tests with affine point
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed May 24, 2024
1 parent 346f77b commit d6b14fb
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 76 deletions.
46 changes: 22 additions & 24 deletions tests/bls12381-mul/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified tests/bls12381-mul/elf/riscv32im-succinct-zkvm-elf
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/bls12381-mul/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub fn main() {
252, 228, 138, 29, 116, 237, 48, 158, 160, 241, 160, 170, 227, 129, 244, 179, 8,
];

let mut a_point = AffinePoint::<Bls12381, 24>::from_le_bytes(a);
let mut a_point = AffinePoint::<Bls12381, 24>::from_le_bytes(&a);

// scalar.
// 3
Expand Down
46 changes: 22 additions & 24 deletions tests/bn254-mul/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified tests/bn254-mul/elf/riscv32im-succinct-zkvm-elf
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/bn254-mul/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn main() {
0, 0, 0, 0,
];

let mut a_point = AffinePoint::<Bn254, 16>::from_le_bytes(a);
let mut a_point = AffinePoint::<Bn254, 16>::from_le_bytes(&a);

// scalar.
// 3
Expand Down
Loading

0 comments on commit d6b14fb

Please sign in to comment.