EIP-7808 RIP-only transaction type reservation (Reserve Tx-Type Range for RIPs)
No call decision · Scaling & data · EIP status Stagnant · created 2024-11-04
Reserves transaction type (EIP-2718) numbers 0x40 through 0x7f exclusively for Rollup Improvement Proposals (RIPs), preventing collisions where EIPs for L1 and RIPs for L2 end up using the same number.
Why it is needed
Every Ethereum transaction carries a type number defined by EIP-2718. Up to now, these numbers have been managed by the EIP process that adds new features to the L1 mainnet. However, L2 rollups also run a separate process called RIP (Rollup Improvement Proposal) to quickly experiment with and introduce their own new transaction formats. If the two processes assign numbers independently without awareness of each other, the same type number could end up meaning one transaction on L1 and an entirely different transaction on L2, creating a collision. Pre-dividing the number ranges lets EIPs and RIPs manage their numbers independently without worrying about such collisions.
What changes
Today
- EIPs for L1 and RIPs for L2 each assign transaction type numbers independently, creating a risk of collision.
- The EIP process would have to track the numbers used on the RIP side as well in order to manage the entire registry.
- Transaction types 0x00 through 0x7f are all shared as a single number space, with no distinction between L1 and L2.
After EIP-7808
- 0x40 through 0x7f is reserved exclusively for RIPs, and the remainder is managed by the EIP process.
- The RIP process can assign new type numbers from its own registry independently of the L1 mainnet.
- The EIP process only needs to manage its own range, without needing to track the numbers used by RIPs.
Who is affected
- L2/rollup developers: When designing a new transaction format, using the 0x40-0x7f range removes any concern about overlapping with L1 EIP numbers.
- Client, wallet, and indexer developers: When parsing transaction type numbers, they need to be aware that this range is reserved for RIPs.
- EIP authors: When proposing a new transaction type, avoid 0x40-0x7f and obtain a number from the remaining range.
In depth
Definition of the reserved range
Of the transaction type numbers defined by EIP-2718, 0x40 through 0x7f (inclusive, 64 values total) are reserved exclusively for the RIP process. Numbers outside this range, effectively 0x00 through 0x3f, remain under the management of the EIP process as before. This EIP itself does not define any new transaction format or logic; it is purely a registry document that divides the number space.
Reason for splitting the registry
RIP is a separate process that handles L2-only transaction types that are not reflected on the L1 mainnet. Pre-dividing the number range lets the RIP process operate its own type registry independent of the L1 mainnet situation, while the EIP process does not need to track exactly which numbers RIPs are using. At the same time, the EIP side still retains 64 numbers (0x00-0x3f) for its own use.
Relationship with EIP-2718
This EIP presupposes the transaction type system defined by EIP-2718. EIP-2718 is the standard that allows transaction formats to be distinguished into multiple types by prefixing a 1-byte type number to the transaction. This EIP only transfers ownership of part of that 1-byte number space (0x00-0xff) to the RIP process.
Backwards compatibility and security
The source explicitly states both backwards compatibility and security considerations as "None." This is because the EIP does not change the behavior or validation logic of existing transactions; it is merely a registry document that pre-assigns ownership of a number range that no one is yet using.
Document classification and current status
This EIP is classified as type Meta rather than Standards Track. This means it is a document that sets processes or rules for the Ethereum ecosystem rather than a technical standard requiring code implementation. Its current status is Stagnant, meaning discussion is not actively ongoing and has stalled.