Skip to content
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

Bugfix for GAS_NEXT of CREATE's #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Commits on Dec 2, 2024

  1. fix: bugfix for GAS_NEXT of CREATE's

    - exceptional CREATE's consume all gas
    - aborted CREATE's consume only the upfront gas cost
    - CREATE's that raise the Failure Condition F consume the upfront gas
    cost + the 63/64ths given to the child context which they don't get back
    - CREATE's with empty init code get those 63/64ths back immediately so
    from the zkevm POV don't pay for it at all
    - CREATE's with nonempty init code consume the upfront ga cost + the
    63/64th's which they provide to the child context (and may et back in
    part)
    OlivierBBB committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    e48ea04 View commit details
    Browse the repository at this point in the history