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-3860: Limit and meter initcode #59

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

EIP-3860: Limit and meter initcode #59

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

Comments

@OlivierBBB
Copy link
Collaborator

OlivierBBB commented Jan 22, 2025

EIP-3860: Limit and meter initcode

Impact

TXN_DATA, likely
- the canonical place where to verify that a transaction's INIT_CODE_SIZE is ≤ 49152 (i.e. 0xC000)
- also where to compute the ceiling computation for ⌊ TX_INIT_CODE_SIZE / 32 ⌋
OOB (extra check for CREATEE/CREATE2 instructions, likely aborting condition, to be verified)
- likely best place to check for the upper bound on init code size
STP (pricing of CREATE/CREATE2)
- likely best place to compute the relevant floor
HUB (CREATE/CREATE2 instruction processing)
- probably unaffected, except maybe in its interfaces with OOB/STP

Notes

The RLP_TXN module seems like it would be unaffected.

This throws an exception according to

But it's an aborting condition according to:

TODO

  • raise an issue on the EYP repo

Test vectors

  • existing testvectors for deployment (tx/int. tx)
  • aborting condition tests
@OlivierBBB OlivierBBB added london to pectra v1 London to pectra v1 shanghai EIP's for the shanghai hardfork labels Jan 22, 2025
@OlivierBBB OlivierBBB changed the title EIP-3860 EIP-3860: Limit and meter initcode Jan 22, 2025
@lorenzogentile404 lorenzogentile404 self-assigned this Jan 22, 2025
@OlivierBBB OlivierBBB added the will implement For those EIP's that will be implemented on Linea label 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 shanghai EIP's for the shanghai hardfork will implement For those EIP's that will be implemented on Linea
Projects
None yet
Development

No branches or pull requests

2 participants