In this track: Ethereum protocol concepts
advanced · 4 MIN READ

Access list transactions

Declared accesses participate in a specific transaction and gas model.

LET’S PICTURE IT

A work order can list cabinets it expects to open before work begins.

SEE IT FOR YOURSELF
Pack small values into Solidity storage slotsStep 1 / 4
Pack small values into Solidity storage slotsFirstuint128 A16 bytesSeconduint128 B16 bytesThirduint256 C32 bytesSimple elementary types only; not a complete compiler layoutSlot 0 · 32 bytesUnused · 16 BA · 16 BHigh-order bytes ← → low-order bytesSlot 0 · fullB · 16 BA · 16 BDeclaration order and sizes determine this packingSlot 0BASlot 1C · 32 bytesTry different sequences in the storage-layout tool

In this simple default-layout example, two uint128 values come before one uint256. Each slot holds thirty-two bytes.

Animated local teaching model. No wallet, RPC or live blockchain data. Some labels and hashes are abbreviated for readability.

Identify the access list

An access list names addresses and storage keys under its transaction format. It is not a list of permissions granting arbitrary access to private data.

Connect to warm-access accounting

Listed accesses affect gas accounting according to the applicable rules. Including a list has its own cost, so it is not universally a free discount.

Do not confuse prediction and restriction

A list of anticipated accesses does not generally constrain execution to only those locations. The code’s behavior and protocol rules still determine what is accessed.

Measure the actual case

Whether a list helps depends on the execution path and state-access pattern. Compare under matching fork and fixture conditions.

Map the protocol concept

access list entry:
address
associated storage keys

Account for list cost and the actual access pattern.

A conceptual model. Exact fields, limits and processing rules must be checked against the intended network fork.

QUICK CHECK · NO PRESSURE

Is an access list generally an authorization list limiting every touched slot?

Your progress stays in this browser.
Keep exploring the original referenceEthereum Improvement Proposals ↗

Original explanations by EtherTools. Examples are educational and source-linked; this site is independent of the Ethereum Foundation. Our approach.