-
Notifications
You must be signed in to change notification settings - Fork 844
insufficient balance error circuit #919
insufficient balance error circuit #919
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.
Just noticed this and after, I saw that the specs PR that this relies on is not merged yet. So I'd please require you to put this as Draft and first work on getting the spec PR merged.
Then, happy to review this PR !
let fn_gen_error_associated_ops = fn_gen_error_state_associated_ops(&exec_error); | ||
return fn_gen_error_associated_ops(state, geth_steps); | ||
} | ||
let fn_gen_error_associated_ops = fn_gen_error_state_associated_ops(&exec_error); |
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.
Not sure what is done whith this new variable. Which seems to be dropped immediately and does nothing and is not passed anywhere.
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.
@CPerezz trying to merge this error state into CallOp
code as found many of code shares with it especially for gas cost related stuff. if it works, will update spec accordingly.
closing this, will open new one for combining into Callop version. |
this error execution is different from others(OOG, stack error etc.) we have done, when this error happens, the result was pushed into stack and execution will consume instead of restore to caller's context.
spec PR privacy-scaling-explorations/zkevm-specs#313