Title | Optional access lists |
EIP | 2930 |
Requires | |
Author |
|
Status | final |
Created | 2020-08-29 |
Description | https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2930.md |
Specification | https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2930.md#Specification |
Category | Core |
Adds a transaction type that contains an access list, a list of addresses, and storage keys that the transaction plans to access. Accesses outside the list are possible but become more expensive.
We introduce a new EIP 2718: Typed Transaction Envelope transaction type, with the format 0x01 || rlp([chainId, nonce, gasPrice, gasLimit, to, value, data, accessList, signatureYParity, signatureR, signatureS]
).
The accessList
specifies a list of addresses and storage keys; these addresses and storage keys are added into the accessed_addresses and accessed_storage_keys global sets (introduced in EIP-2929). A gas cost is charged, though at a discount relative to the cost of accessing outside the list.
This EIP serves two functions: