feat: add sstore circuit#383
Conversation
ed255
left a comment
There was a problem hiding this comment.
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! |
|
@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.