Skip to content

Boom: EVM and Protocol Upgrades

Latest
Compare
Choose a tag to compare
@vieyang vieyang released this 14 Sep 11:50
· 1210 commits to newton since this release
593e846

Abstract

Add support for a subset of protocol-impacting changes introduced in the Ethereum Foundation (ETH) network via the Constantinople, St. Petersburg and Istanbul hardforks. The proposed changes for NewChain's Expansion upgrade include:

  • Bitwise shifting instructions in EVM
  • Skinny CREATE2
  • EXTCODEHASH opcode
  • Net gas metering for SSTORE without dirty maps
  • Add Blake2 compression function F precompile
  • Reduce alt_bn128 precompile gas costs
  • Add ChainID opcode
  • Repricing for trie-size-dependent opcodes
  • Calldata gas cost reduction
  • Rebalance net-metered SSTORE gas cost with consideration of SLOAD gas cost change

This document proposes the following blocks at which to implement these changes in the NewChain networks:

Specification

Technical specifications for each EIP can be found at those documents respectively:

  • EIP-145: Bitwise shifting instructions in EVM
  • EIP-1014: Skinny CREATE2
  • EIP-1014: EXTCODEHASH opcode
  • EIP-1283: Net gas metering for SSTORE without dirty maps
  • EIP-152: Add Blake2 compression function F precompile
  • EIP-1108: Reduce alt_bn128 precompile gas costs
  • EIP-1344: Add ChainID opcode
  • EIP-1884: Repricing for trie-size-dependent opcodes
  • EIP-2028: Calldata gas cost reduction
  • EIP-2200: Rebalance net-metered SSTORE gas cost with consideration of SLOAD gas cost change