Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EIP-7702: Set EOA account code #78

Open
OlivierBBB opened this issue Jan 22, 2025 · 0 comments
Open

EIP-7702: Set EOA account code #78

OlivierBBB opened this issue Jan 22, 2025 · 0 comments
Labels
london to pectra v1 London to pectra v1 pectra v1 EIP's for the pectra v1 hardfork will implement For those EIP's that will be implemented on Linea

Comments

@OlivierBBB
Copy link
Collaborator

OlivierBBB commented Jan 22, 2025

EIP-7702: Set EOA account code

Impact

  • RLP_TXN, new tx type
    • new RLPization AUTHORITY_RLP
    • send the RLPization + signature to the prover
  • HUB
    • add phase column for delegation TX_DELEGATED
    • pre-check for delegation of delegation

    In case a delegation designator points to another designator, creating a potential chain or loop of designators, clients must retrieve only the first code and then stop following the designator chain.`

    • add phase column for delegation TX_DELEGATION
    • add columns in account perspective for IS_DELEGATED, DELEGATION_ADDRESS
    • call scenarios
    • extra account rows for calls targeting delegated accounts
    • context initialization depending on delegated / non delegated
  • TXN_DATA
    • pricing
    • check that it's not a deployment transaction
    • authorization list cannot be empty

Notes

If execution fails, delegation is persistent

Test vectors

  • delegation remains if execution fails
  • test several times EOA in same tx
  • persistent between transactions
  • cannot sign with an address that is delegated
  • multidelegation calls
  • resetting the delegation / re-enabling transaction signing
  • if the smart contract address is a precompile, and raise exception when execution calls it
@OlivierBBB OlivierBBB added london to pectra v1 London to pectra v1 pectra v1 EIP's for the pectra v1 hardfork will implement For those EIP's that will be implemented on Linea labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
london to pectra v1 London to pectra v1 pectra v1 EIP's for the pectra v1 hardfork will implement For those EIP's that will be implemented on Linea
Projects
None yet
Development

No branches or pull requests

1 participant