-
Notifications
You must be signed in to change notification settings - Fork 840
Conversation
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.
Overall looks good! Thanks for working on this.
Nevertheless I see how tricky it is to calculate gas cost and refund values for this opcode. I would be more confident reviewing this if the SSTORE
was implemented in the bus-mapping (like I suggest in a comment). So that the external tracer with the circuit input builder can be used, and then we can test all the different scenarios with the gas cost and refund value set by geth to test the correctness of the implementation.
Let me know your plans on implementing the SSTORE
in the bus-mapping :)
9cf2af2
to
fa427a6
Compare
Hi @ed255 !
|
Thanks for pointing out that the bus-mapping implementation is blocked by #349 Also let's wait for a second review before merging! |
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!
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!! Nice job!!
Good catch with the stack positions too @ed255
@HAOYUatHZ once the PR is rebased with main and the conflicts are resolved, we can merge this :) |
rebase update comments fix reversion fix stack_pointer
No description provided.