runtime-sdk/evm: Support for EIP-5656 and EIP-1153 in Ethereum cancun
EVM
#1671
Labels
c:deps
Category: external dependencies
c:runtime-sdk
Category: Runtime SDK
enhancement
New feature or request
m:evm
Module: evm
As of Solidity 0.8.25 the default EVM version is
dencun
which introduces two EIPsMCOPY
opcode to the code base. Currently, copying memory requires developers to use two opcodes (MSTORE
andMLOAD
) and costs at least 96 gas. WithMCOPY
, it only costs around 26 gas. This improvement makes smart contracts more efficient with zero trade-offs.TLOAD
andTSTORE
opcodes to enable transient storage or medium-term memory for communication within complex transactions. This means the memory will be accessible to all function calls within the transaction and will be cleared once it’s completed.Contracts compiled with Solidity 0.8.25 may fail to execute if they use functionality which emits these opcodes.
The text was updated successfully, but these errors were encountered: