Attestation is the process by which validators in a proof-of-stake network formally declare their view of the blockchain's state. Think of it as a digital vote — each validator confirms which block they believe is the correct head of the chain at any given time.
How Attestations Work
In Ethereum's proof-of-stake system:
- Assignment: Each validator is randomly assigned to a specific committee within a slot (12-second window)
- Observation: The validator observes the proposed block and evaluates its validity
- Voting: The validator publishes an attestation — a signed message confirming their view
- Aggregation: A designated aggregator combines all attestations from the committee into a single condensed message
- Inclusion: The aggregated attestation is included in the next block
Attestation Structure
Each attestation contains:
| Component | Description |
|---|
| Slot | The specific 12-second time window |
| Index | The committee index the validator belongs to |
| Beacon block root | The block the validator is voting for |
| Source | The last justified checkpoint |
| Target | The most recent checkpoint boundary |
| Aggregation bits | Which validators in the committee signed |
| Signature | The aggregated BLS signature |
Why Attestations Matter
- Consensus: Attestations are the primary mechanism for achieving agreement in proof-of-stake networks
- Finality: When enough attestations accumulate (supermajority of 2/3), blocks become finalized and irreversible
- Security: The weight of attestations determines the canonical chain — the chain with the most attestation weight wins
- Rewards: Validators earn rewards for timely and correct attestations
Attestation Rewards and Penalties
| Behavior | Outcome |
|---|
| Correct, timely attestation | Earn ETH rewards |
| Missed attestation | Small penalty (no reward) |
| Conflicting attestations | Slashing (significant ETH loss) |
Why It Matters for Creators
Attestations are the backbone of how modern blockchains like Ethereum reach consensus without energy-intensive mining. Understanding this mechanism helps creators appreciate why proof-of-stake networks are more energy-efficient and how transaction finality works.