EIP-8298
SETCODEFROM Code Reuse Instruction
Adds an instruction that sets an account's code hash from an existing deployed contract.
DraftSplurge
Status history
- Draft11 Jun 2026
Abstract
This EIP introduces SETCODEFROM, an EVM instruction that sets the current account's code hash to the code hash of a source account with existing deployed code. The new code is visible to later code execution.