-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circuit for opcode SELFBALANCE #89
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.
Otherwise LGTM
@@ -648,6 +648,8 @@ fn tx_convert( | |||
tx: &bus_mapping::circuit_input_builder::Transaction, | |||
ops_len: (usize, usize, usize), | |||
) -> Transaction<Fp> { | |||
// look in to addresses here? | |||
// callee address?? |
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.
Is this part still WIP?
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.
I will remove this comment. I think that privacy-scaling-explorations#292 will address this, which should allow us to use run_test_circuits
for the gadget test instead of having to construct the witness by hand.
I'm waiting for privacy-scaling-explorations#292 to be merged in. I will need to update the bus mapping for SELFBALANCE once it is, because we need to do account and call context lookups for the opcode. |
decided that this is ready for review and that i'll update the bus mapping for SELFBALANCE once privacy-scaling-explorations#292 is merged in upstream. |
close and move to privacy-scaling-explorations#328 |
Implement the SelfbalanceGadget for opcode SELFBALANCE.
Specs: scroll-tech/zkevm-specs#33
Fixes #56