EIP-3709 Removing type 1 transaction support (Remove Support for Type 1 Transactions)

No call decision · Fees & gas · EIP status Stagnant · created 2021-08-07

A proposal that when a wallet or provider receives a request to sign a type 1 (EIP-2930) transaction, it should automatically convert it to a type 2 (EIP-1559) transaction while keeping the access_list.

Why it is needed

In addition to legacy type 0, Ethereum transactions include type 1 introduced by EIP-2930 and type 2 introduced by EIP-1559. Type 1 added an access list (access_list) to signal in advance which storage would be accessed, but still used the old gas_price method for fee calculation. The later type 2 kept the access_list while splitting the fee into max_fee_per_gas and max_priority_fee_per_gas instead of gas_price, letting users separately adjust the base fee and the priority fee paid to the validator. As a result, type 1 remained in an awkward middle form that has the access_list but does not get EIP-1559's fee improvements, and as the network increasingly converges on type 2, this proposal arose from the view that there is no longer a reason to keep supporting type 1.

What changes

Today

After EIP-3709

Who is affected

In depth

Background on the emergence of type 1 and access_list

The type 1 transaction, first introduced by EIP-2930, adds an access_list to the TransactionPayload. The access_list is a field that declares in advance which addresses and storage slots a transaction will access. Based on this declaration, gas calculation for those accesses can be handled differently. Aside from this access_list, type 1 kept the same fee structure as legacy transactions, setting the fee with a single gas_price value.

Why type 2 effectively replaces type 1

The type 2 transaction introduced by EIP-1559 is encoded as rlp([chain_id, nonce, max_priority_fee_per_gas, max_fee_per_gas, gas_limit, destination, amount, data, access_list, signature_y_parity, signature_r, signature_s]), and it includes access_list just like type 1. In other words, type 2 is a superset that keeps the access_list functionality intact while improving only the fee structure in the EIP-1559 way, and the original document's core logic is that there is no reason to separately support type 1.

Specification: field-by-field conversion rules

When a user requests a signature for a transaction with type 0x1, the developer must convert it to the type 2 standard. The access_list is kept as is in the transaction. The type is changed from 0x1 to 0x2. gas_price is removed, and max_fee_per_gas and max_priority_fee_per_gas are filled in instead (following proper usage per the EIP-1559 specification).

The scope of application is wallets and providers, not the protocol

This proposal falls under the Interface category, and the target of change is the transaction processing logic of wallets and providers. It does not change the Ethereum protocol, consensus rules, or the TransactionType itself as defined by EIP-2718. Rather, it proposes intercepting the user's request at the developer tooling level and converting it to a better format.

Security considerations and current status

The original document states that there are no known security considerations. However, this EIP is currently in Stagnant status and is no longer being actively progressed. The provided call records contain no decision on whether this proposal will be included in a fork.

Original EIP · ← EIPs