Section VII: Ethereum Framework
April 9, 2026
Think of Ethereum as a global append-only state machine shared by peers.
Anyone can submit a transaction; validators propose blocks and attesters verify and accept.
The chain with the most cumulative attestation weight is the canonical history.
Ownership is control of private keys (EOAs and contract accounts).
Incentives (block rewards + fees + MEV) fund security and honest participation.
state_root → commits to global state after execution.transactions_root → commits to ordered list of transactions.receipts_root → commits to execution results (status, gas, logs).Ommer blocks, also known as uncle blocks, refer to valid blocks that are not included in the main chain. This occurs when multiple miners create valid blocks at nearly the same time, resulting in one being left out.
transactions_root: proves the ordered list of transactions. Trie keys encode position (0, 1, 2 …), enabling inclusion + order proofs.receipts_root: proves the outcomes of those transactions. Receipts store status, gasUsed, and logs.state_root: commits to the entire world state after execution. Each account (nonce, balance, code, storageRoot) sits in the state trie.Committee attesters earn small rewards for each timely, correct vote. Proposers receive a larger reward that includes attestation aggregation bonuses and transaction fees. Rewards are funded by new ETH issuance and priority fees paid by users.
RANDAO is stake-weighted: each validator’s influence on the random seed is proportional to their effective balance (up to 32 ETH per key), so selection probability scales with the amount of ETH staked.
Context: Ethereum uses RANDAO for validator selection. Other PoS protocols (Algorand, Cardano/Ouroboros Praos) use VRFs instead.
Purpose: generate private, verifiable randomness for individual validators.
Analogy: a VRF is like a provable coin flip — each validator flips privately but can show cryptographic proof the flip was honest.
Mechanics:
hash(output) < threshold × stake).Properties:
Ethereum does not currently use VRFs. Unlike RANDAO, where the last revealer can marginally bias the seed, VRFs eliminate this by keeping the output secret until broadcast. VRFs have been discussed as a potential future enhancement to Ethereum’s randomness pipeline.
Why global randomness?
Individual selection (VRFs) decides who wins locally, but the network still needs a shared, unbiased seed for committee rotation and epoch-level tasks.
RANDAO (RAndom DAO):
Despite the name, RANDAO is not a DAO — it is a pseudorandom number generator (PRG) built into Ethereum’s Beacon Chain for committee and proposer selection.
Verifiable Delay Function (VDF):
seed' = VDF(seed) that everyone can verify but no one can compute faster.Result:
RANDAO is Ethereum’s current production randomness mechanism. The last-revealer bias is considered minor in practice because withholding forfeits rewards and the effect is diluted by hundreds of other contributors. VDFs would close this gap entirely but remain under research.
Key idea: RANDAO + VDF beacons provide collective, bias-resistant entropy — the public dice roll that keeps PoS selection fair across epochs.
The original wording “most validators attest each slot” is misleading. In practice, the full validator set is divided evenly across the 32 slots of an epoch. Each validator is assigned to exactly one slot per epoch, so only ~1/32 of validators attest in any given slot — not most.
LMD-GHOST starts at the last justified checkpoint and walks down the block tree, choosing whichever child has the greatest stake weight from validators’ latest attestations. Each validator counts once (their most recent vote only). The result is a head that reflects the current majority view, not historical block count.
Gasper is the name for Ethereum’s full consensus protocol. Casper-FFG is one component within it — the finality gadget. LMD-GHOST is the other — the fork-choice rule. “Casper” alone is sometimes used loosely to refer to either the gadget or the broader system, but precisely it means the FFG finality layer only.
Real-world example: Ethereum Classic suffered a series of 51% double-spend attacks in 2020, where attackers rented enough hash power to reorganize thousands of blocks and reverse exchange deposits worth millions of dollars. This was feasible because ETC’s total hash rate was low enough to rent temporarily. Ethereum mainnet’s shift to PoS changes the calculus entirely — an attacker cannot rent stake and walk away; they must own it and accept that it will be slashed.
Real-world relevance: In 2023, researchers demonstrated balancing-style attacks against LMD-GHOST in testnet conditions, exploiting proposer boost timing and attestation delays. Ethereum responded with proposer boost — a fork-choice weight bonus given to the current slot’s block when seen on time — which raises the cost of these attacks significantly. The episode illustrates that consensus security depends on network plumbing, not just cryptography.
The DAO Hack (June 2016): A reentrancy vulnerability in The DAO’s smart contract allowed an attacker to drain ~$60M in ETH by repeatedly calling the withdraw function before balances updated. The Ethereum community responded with a controversial hard fork, splitting the chain into Ethereum (ETH) and Ethereum Classic (ETC).
Parity Multisig Wallet (July 2017): Hackers exploited a visibility bug in the Parity multisig library contract, stealing ~$31M in ETH from multiple wallets. A second Parity incident in November 2017 accidentally froze over 500,000 ETH when a user triggered a self-destruct on the shared library — a textbook case of code-reuse risk.
Beacon Chain Finality Delays (May 2023): On May 11–12, Ethereum mainnet experienced two finality delays — the first lasting ~25 minutes, the second over an hour. Consensus client bugs (Prysm, Teku) caused validators to go offline, dropping participation below the 2/3 threshold needed for finalization. Blocks continued to be produced (liveness held), and the network self-recovered without intervention. Client diversity was credited as the key reason the outage stayed brief.
Ethereum Classic 51% Attacks (2020): ETC suffered multiple double-spend attacks where attackers rented enough hash power to reorganize thousands of blocks and reverse exchange deposits. This contrast illustrates why Ethereum’s move to PoS — where stake cannot be rented and walked away from — fundamentally changes the attacker’s calculus.
All known mainnet slashings have been accidental — misconfigured backups causing double attestations (Staked, 2021; Bitcoin Suisse, 2023). No intentional equivocation has occurred, suggesting the penalty structure deters it effectively.
The May 2023 incidents validated Ethereum’s design under stress: the protocol distinguished between liveness (blocks keep coming) and safety (finality locks history), degraded gracefully, and self-healed. The community credited client diversity as the primary reason both outages stayed brief.
transactions_root), outcomes (receipts_root), and world state (state_root) — enabling verification without full re-execution.
Ethereum “Mining”, PoS, and Security — Army Cyber Institute — April 9, 2026