EIP-7702: Set EOA account code

Some variations:

  1. Should the contract_code signature also sign over the account’s nonce?
  2. Should the contract_code signature also sign over the CHAINID?
  3. Should the contract_code instead be an address? This would save calldata, though only a little bit of calldata because ERC-1167 proxies only take 44 bytes.
  4. Should SSTORE inside the “temporarily contract-ified EOAs” be prohibited, like it is in EIP-5806?
  5. Should we have initcode and not just contract_code?
  6. Should we just add a flag to NOT set the code back to zero at the end? Thereby making this EIP also supersede EIP-5003.
8 Likes