CODECOPY opcode#148
Conversation
|
Hey @roynalnaruto! I saw the PR for the circuits already up and ready for review. |
6fd59d4 to
356370c
Compare
@CPerezz I just had to push an unchanged change and rebase with upstream. I've now opened this PR. |
|
Hi @roynalnaruto, thanks for working on this! Have you considered about retrieving the Also state trie doesn't contain the |
CPerezz
left a comment
There was a problem hiding this comment.
Some nits/questions.
Overall is looking good! :)
|
@han0110 made an excellent point there! Worth considering to refactor this in that regard. |
|
@han0110 @CPerezz I've added a commit to extend the bytecode circuit (and related code/tests) that:
|
han0110
left a comment
There was a problem hiding this comment.
Overall looks good! Although I thought you could just change the interface in table.py without needing to worry about updating bytecode.py itself.
Currently Bytecode circuit is modified to have access to previous row and next row, which seems hard to track all the branches (also brings some duplication I think), I have submitted another proposal #151 that I always want to try, if you are interesting perhaps you can have a look and implement it in another PR.
@han0110 Yes, I think the proposal makes a lot of sense. I would like to take that up and refactor the bytecode circuit. But I believe that should be done as a separate PR, once this one is approved and merged (just trying to avoid too many changes and potential conflicts for others working on this repo). Wdyt? |
Sure, let's do it in another PR. |
han0110
left a comment
There was a problem hiding this comment.
All LGTM now. Great work!
CPerezz
left a comment
There was a problem hiding this comment.
LGTM!! Nice job!!!
Only a small nit in the markdown file 🙂
|
@roynalnaruto Can we rebase this and merge? |
a7085c1 to
87f58bc
Compare
Circuits PR: privacy-ethereum/zkevm-circuits#391