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

Implement 2 EIPS: limit and meter initcode and PUSH0 instructions #1443

Merged
merged 7 commits into from
Apr 13, 2023

Commits on Apr 11, 2023

  1. core/vm: deepcopy jumptable when enabling extra eips

    When the interpreter is configured to use extra-eips,
    this change makes it so that all the opcodes are deep-copied,
    to prevent accidental modification of the 'base' jumptable.
    
    Original-auther: yihuang <huang@crypto.com>
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    sunny2022da and holiman committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    a041e89 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. core/vm: implement EIP-3860: Limit and meter initcode

    Implementation of https://eips.ethereum.org/EIPS/eip-3860, limit and meter initcode.
    Most of this change takes the go-ethereum implementation as reference.
    
    Original-author: Andrei Maiboroda <andrei@ethereum.org>
    Co-authored-by: lightclient@protonmail.com <lightclient@protonmail.com>
    Co-authored-by: Martin Holst Swende <martin@swende.se>
    Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
    4 people committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    9919ba0 View commit details
    Browse the repository at this point in the history
  2. core/vm: implement EIP-3855: PUSH0 instruction

    * core/vm: Implement PUSH0
    
    * Move PUSH0 to enable3855
    
    * Add method doc
    
    Original-author: Alex Beregszaszi <alex@rtfs.hu>
    sunny2022da committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    9de09cd View commit details
    Browse the repository at this point in the history
  3. core/vm: enable EIP-3855 (PUSH0) in Boneh

    Original-author: Andrew Ashikhmin <34320705+yperbasis@users.noreply.github.com>
    sunny2022da committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    38440ee View commit details
    Browse the repository at this point in the history
  4. core/vm: Fix issue of incorrect instructionSet used for jump_table

    Also update the related test case for gas change.
    sunny2022da committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    a9aeaae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf9d6a6 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Configuration menu
    Copy the full SHA
    3265ea3 View commit details
    Browse the repository at this point in the history