-
Notifications
You must be signed in to change notification settings - Fork 32
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
Open
sai-deng
wants to merge
14
commits into
sai/conditionally_verify_in_root_circuit
Choose a base branch
from
sai/enable_keccak_optional_proving
base: sai/conditionally_verify_in_root_circuit
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Enables optional verification of Keccak tables #657
sai-deng
wants to merge
14
commits into
sai/conditionally_verify_in_root_circuit
from
sai/enable_keccak_optional_proving
+127
−45
Conversation
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
sai-deng
changed the base branch from
develop
to
sai/skip_table_in_root_circuit
September 24, 2024 21:14
github-actions
bot
added
the
crate: evm_arithmetization
Anything related to the evm_arithmetization crate.
label
Sep 24, 2024
sai-deng
changed the base branch from
sai/skip_table_in_root_circuit
to
sai/conditionally_verify_in_root_circuit
September 24, 2024 21:15
sai-deng
changed the title
[WIP] Sai/enable keccak optional proving
Enables Keccak optional proving
Sep 25, 2024
sai-deng
changed the title
Enables Keccak optional proving
Enables optional verification of Keccak tables
Sep 25, 2024
sai-deng
requested review from
wborgeaud,
muursh,
Nashtare and
LindaGuiga
as code owners
September 25, 2024 17:47
…le_keccak_optional_proving
…le_keccak_optional_proving
sai-deng
force-pushed
the
sai/enable_keccak_optional_proving
branch
from
September 26, 2024 23:10
34c9bad
to
ab2ec50
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Enables optional verification of Keccak tables in root circuits, saving unnecessary recursion time for empty Keccak tables. In my tests below, it reduces proving time by around 3 seconds when a segment contains no Keccak operations. #620
RUST_LOG=info /Users/sdeng/.cargo/bin/cargo test --color=always -r --lib fixed_recursive_verifier::tests::test_segment_proof_generation_without_keccak --no-fail-fast --manifest-path /Users/sdeng/Project/0xPolygonZero/zk_evm/evm_arithmetization/Cargo.toml -- --ignored