This repository was archived by the owner on Jul 5, 2024. It is now read-only.
CALLDATALOAD: bus-mapping and refactoring#402
Merged
CPerezz merged 5 commits intoApr 12, 2022
Conversation
Collaborator
|
@roynalnaruto i think it is better to add some bus-mapping generated tests in circuit of calldataload |
6 tasks
Contributor
|
Until the PR is not up to date with Feel free to update when you consider @lispc :) |
1ff0c82 to
666af54
Compare
Collaborator
Author
@CPerezz I've resolved the conflicts :) |
icemelon
reviewed
Apr 5, 2022
Collaborator
icemelon
left a comment
There was a problem hiding this comment.
Since we have CALL in the busmapping, probably we can add CALLDATALOAD bus-mapping for internal call case as well
5911330 to
b8eb1f0
Compare
CPerezz
suggested changes
Apr 7, 2022
Contributor
CPerezz
left a comment
There was a problem hiding this comment.
Good job with this!
I'm missing overall testcases for non-root calls as well as the implementation for the caller memory read.
Also added some nits and suggestions! 😄
b8eb1f0 to
fbf9112
Compare
acd8b1d to
0ed71bd
Compare
Collaborator
Author
CPerezz
reviewed
Apr 12, 2022
Contributor
CPerezz
left a comment
There was a problem hiding this comment.
I just have some nits.
Other than that LGTM.
eaa7387 to
a69d474
Compare
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Depends on handling internal calls:
CircuitInputBuilder#434This PR:
Calldataload::gen_associated_opsCALLDATALOADcircuit for simplicity (Specs PR: CALLDATALOAD: refactor zkevm-specs#179)is_root: false)