This repository was archived by the owner on Jul 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 840
Implementation ExecutionState::STOP
#419
Merged
han0110
merged 3 commits into
privacy-scaling-explorations:main
from
han0110:feature/stop
Jul 4, 2022
Merged
Implementation ExecutionState::STOP
#419
han0110
merged 3 commits into
privacy-scaling-explorations:main
from
han0110:feature/stop
Jul 4, 2022
Conversation
This file contains hidden or 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 was referenced Apr 6, 2022
11 tasks
This was referenced Apr 12, 2022
This was referenced May 4, 2022
48 tasks
ed255
reviewed
Jun 23, 2022
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.
First review round. I'm missing review of:
zkevm-circuits/src/evm_circuit/step.rs
zkevm-circuits/src/evm_circuit/util/common_gadget.rs
zkevm-circuits/src/evm_circuit/witness.rs
Overall looks good! I've added minor comments and suggestions.
ed255
approved these changes
Jun 27, 2022
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.
Review complete. LGTM!
DreamWuGit
reviewed
Jul 4, 2022
DreamWuGit
reviewed
Jul 4, 2022
DreamWuGit
approved these changes
Jul 4, 2022
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.
LGTM, only left some classifications!
zemse
pushed a commit
to zemse/zkevm-circuits
that referenced
this pull request
Mar 22, 2023
…orations#419) * Implement circuit for `ErrorOutOfGasSHA3` state. * Add `MemoryExpandedAddressGadget` to support memory offset plus length greater than `0x1FFFFFFFE0`.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
crate-bus-mapping
Issues related to the bus-mapping workspace member
crate-zkevm-circuits
Issues related to the zkevm-circuits workspace member
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.
This PR aims to implement
ExecutionState::STOP
. For spec, please refer to privacy-scaling-explorations/zkevm-specs#100.It also resolves #464 by removing the incomplete trace testing used in
COPYTOMEMORY
andCOPYCODETOMEMORY
because they should be covered byCALLDATACOPY
andCODECOPY
.TODO
Broken tests
Currently some of tests using hand-crafted testing witness (instead of using
CircuitInputBuilder
) are failed by this PR, those unfixed include:CALLDATACOPY
CALLDATALOAD
- CALLDATALOAD: bus-mapping and refactoring #402CALLDATASIZE
- Fix some bugs ofCircuitInputBuilder
#434MEMORY_COPY
SLOAD
,SSTORE
- feat: bus mapping for sload and sstore #418Opcode fetching out of range
STOP
can be fully implemented