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

The state transition function

Valid inputs transform one state into a defined next state.

LET’S PICTURE IT

A shared game board changes only through moves that follow the same rules.

SEE IT FOR YOURSELF
Receive, check and share across independent nodesStep 1 / 4
Receive, check and share across independent nodesIncoming dataCandidate instructionNot yet trustedNode AReceives the messageApplies local checksEach participant has a local view of incoming informationNode A checksAuthorizationProtocol validityValid candidateEligible for next stepsNot a finality promiseApplication safety is a different claim from protocol validityNode AShares checked dataNode BChecks for itselfNode CChecks for itselfNode ARules checked✓Node BRules checked✓Node CRules checked✓Agreement on history adds the consensus mechanism

A node receives a proposed transaction or block-related message. Receipt is not the same as accepting its claims.

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

Start from a known state

Execution uses an existing state and relevant block/transaction context. The same input can behave differently when the starting state differs.

Apply validity checks

Signature, nonce, fee and other transaction rules are checked under the active protocol. Invalid transactions are not accepted simply because their desired final state looks plausible.

Execute under deterministic rules

The EVM and surrounding processing produce state effects, gas outcomes and receipts. Every validating client must agree on those results for the same valid context.

Compare resulting commitments

A proposed block’s claimed results must match the transition. Consensus chooses valid history under its rules rather than voting incorrect execution into correctness.

Map the protocol concept

prior state + valid block context
→ specified processing
→ next state + receipts + commitments

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

QUICK CHECK · NO PRESSURE

Can a consensus vote make an invalid arithmetic result valid under unchanged rules?

Your progress stays in this browser.
Keep exploring the original referenceethereum.org ↗

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