-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cargo fmt and update Cargo.toml for gkr * complete tests for add_unsafe, sub_unsafe, convert_decomp, lt. Fix bugs so that pop and jump opcodes can pass tests in singer. * add opcode dbg, currently fixed the overflow issue. Remaining issue lie in two assertions inside gkr's circuit_witness.rs * add can pass test in case no overflow and neglect the output layer assert_const case. Further problem in convert_decomp found and fixed, with tests of convert_decomp and from_range_values. Test function returns circuit witnesses. * convert_decomp simplest modification * add with carry tests can pass except for the const check issue * last const non-match issue resolved. It is found that this comes from test witnesses for stack_ts_add. * add_ts_with_const witness naming revision * merge conflicts resolved. TODO: new stack_push computation scheme for add, so need to revise the previous computations for checking final stack_push computation * fixed checking stack_push for add test in the newest version of master branch. cargo fmt * resolve merge conflicts and cargo fmt * tests and dbg for gt, jump, jumpdest, push, swap * Add add bench * Add mstore bench * bench for dup, gt, jump, jumpdest, pop, push, swap. TODO: add test/dbg for mstore, calldataload, add bench for calldataload * calldataload test/dbg/bench, mstore test/dbg, dup2, swap4, push1 bench * Fix chip constraints and reorganize table code structure * Add basic block benchmark * - devirgo sumcheck on single node and benchmark: 2x boost on sumcheck - refactor phase 2 sumcheck to new devirgo algo: 1.5x on keccak256 e2e - optimise sequential traverse in phase 2 * code cosmetics * add thread id in gkr graph prove api * add instruction `add` bench * edit gitignore --------- Co-authored-by: huwenqing0606 <[email protected]> Co-authored-by: dreamATD <[email protected]>
- Loading branch information
1 parent
b73cf09
commit e5e160a
Showing
56 changed files
with
2,790 additions
and
284 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/target | ||
.vscode | ||
*.log | ||
*.log | ||
log.txt |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
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
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
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
Oops, something went wrong.