-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enables optional verification of Keccak tables #657
Merged
+159
−60
Merged
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
662c8db
refactoring
sai-deng d82b1a8
fix clippy
sai-deng 4498870
fix clippy
sai-deng b14417f
wip
sai-deng eabcf5e
wip
sai-deng 2ad3857
Merge branch 'develop' into sai/skip_table_in_root_circuit
sai-deng 2b2e737
wip
sai-deng f63363b
cleanup
sai-deng cc9d41b
prove one segment
sai-deng fe88819
polish the code
sai-deng 7ff2fb1
cleanup
sai-deng 6ce3cbe
Revert "cleanup"
sai-deng 8c940b0
add [ignore]
sai-deng d6af500
add challenger state check
sai-deng f5deedb
add more checks
sai-deng e39894a
cleanup
sai-deng 948d742
add empty keccak tables bool
sai-deng 49bb96b
enable no keccak recursion
sai-deng bbba820
refactor
sai-deng 8c4a362
fix tests
sai-deng 5cdb37d
rename
sai-deng 2f0129e
fix pis
sai-deng 36ace10
fix
sai-deng 5b7f818
resolve conflicts
sai-deng 56deaa3
done
sai-deng 7a3fe08
polish the comments
sai-deng cfc6f24
Merge branch 'sai/conditionally_verify_in_root_circuit' into sai/enab…
sai-deng 4d288f8
fix ci
sai-deng e6bed69
add comments
sai-deng 0bd1448
fix ci
sai-deng 3800986
update tests
sai-deng 674485e
Merge branch 'sai/skip_table_in_root_circuit' into sai/conditionally_…
sai-deng daaabb6
Merge branch 'sai/conditionally_verify_in_root_circuit' into sai/enab…
sai-deng 91dbeaa
fix ci
sai-deng bb79080
fix ci
sai-deng ed9637d
Merge branch 'develop' into sai/skip_table_in_root_circuit
sai-deng fd55d1a
fix ci
sai-deng 6b27552
Merge branch 'sai/skip_table_in_root_circuit' into sai/conditionally_…
sai-deng ab2ec50
Merge branch 'sai/conditionally_verify_in_root_circuit' into sai/enab…
sai-deng 4de4c64
empty payload and no keccak op check
sai-deng e34c59a
refactor
sai-deng be887e6
Update evm_arithmetization/src/fixed_recursive_verifier.rs
sai-deng d2ca0cc
Update evm_arithmetization/src/fixed_recursive_verifier.rs
sai-deng ce88ef8
empty payload and no keccak op check
sai-deng a23eaf0
fmt
sai-deng 7d72eb9
Merge branch 'develop' into sai/skip_table_in_root_circuit
sai-deng baba9da
merge
sai-deng ec64af9
Merge branch 'sai/conditionally_verify_in_root_circuit' into sai/enab…
sai-deng ac41fa4
Merge branch 'develop' into sai/skip_table_in_root_circuit
sai-deng f24d028
Merge branch 'sai/skip_table_in_root_circuit' into sai/conditionally_…
sai-deng 58f37e8
Merge branch 'sai/conditionally_verify_in_root_circuit' into sai/enab…
sai-deng c822a70
fix test
sai-deng 2886fd8
Merge branch 'sai/skip_table_in_root_circuit' into sai/conditionally_…
sai-deng 1540078
Merge branch 'sai/conditionally_verify_in_root_circuit' into sai/enab…
sai-deng 12c61a8
fix ci with "cdk_erigon"
sai-deng 447cfb9
fix ci error with "cdk_erigon"
sai-deng 5f935c2
Merge branch 'sai/skip_table_in_root_circuit' into sai/conditionally_…
sai-deng 42afc90
Merge branch 'sai/conditionally_verify_in_root_circuit' into sai/enab…
sai-deng 40867c0
Merge branch 'develop' into sai/conditionally_verify_in_root_circuit
sai-deng e7ab9eb
Merge branch 'sai/conditionally_verify_in_root_circuit' into sai/enab…
sai-deng 09a1a4a
enable test
sai-deng 4a69e8a
Update evm_arithmetization/src/fixed_recursive_verifier.rs
sai-deng 81d3681
address comments
sai-deng 79aeb72
sync changes into get_challenges
sai-deng 732020d
wip
sai-deng 9f8ec9e
fix
sai-deng 503085b
fix
sai-deng a36c5f7
fix tests
sai-deng 640bae1
fix
sai-deng 051702d
address comments
sai-deng 93fff4b
merge develop
sai-deng 7bc7c2c
common_date -> common_data
sai-deng File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can they not just be ignored? (as in only observe if it's not a keccak table)?
Also, has a similar change been applied on the verifier side (in
get_challenges.rs
)?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is difficult to implement conditionally observe in root circuits, so I choose observe zero caps instead.
I was originally planning to implement it in the next PR (which requires changes on the Plonky2 side, and
get_challenges.rs
is only used for testing). However, I agree with you that we should make this PR complete. I will implement it in this PR instead.