EIP Radar
@ 41a838d ·
EIP-8298

SETCODEFROM Code Reuse Instruction

Adds an instruction that sets an account's code hash from an existing deployed contract.

DraftSplurge

Status history

  1. 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.

Created
11 Jun 2026
Authors
Liyi Guo, Ben Adams, Carlos Perez, Nicolas Consigny
Upgrades
Requires
EIP-3607EIP-6780EIP-7702EIP-7928EIP-8037EIP-8038
Required by
—