-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor/t775 update dependency bn254 (#797)
* Use forge for testing the BLS signature implementation in solidity. * Remove BN256.G2 dependency and related code. * Remove function *verifyAggSig*. * Point to solidity-bn254 v0.2.0. * Use G2ParsedPoint in diff_test.rs. Co-authored-by: Alex Xiong <[email protected]>
- Loading branch information
1 parent
0d12934
commit 2ed2568
Showing
33 changed files
with
318 additions
and
1,964 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Submodule bn254
updated
15 files
+35 −17 | .github/workflows/test.yml | |
+21 −0 | .gitignore | |
+3,885 −0 | Cargo.lock | |
+19 −0 | Cargo.toml | |
+13 −0 | diff-test/Cargo.toml | |
+132 −0 | diff-test/src/lib.rs | |
+100 −0 | diff-test/src/main.rs | |
+188 −27 | flake.lock | |
+65 −10 | flake.nix | |
+5 −1 | foundry.toml | |
+7 −0 | justfile | |
+13 −0 | shell.nix | |
+109 −84 | src/BN254.sol | |
+8 −12 | src/Utils.sol | |
+151 −0 | test/BN254.t.sol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.