Snap sync: state snapshots and what they skip
Snap sync solves the slowest part of Ethereum node setup: downloading and re-validating the world state — every account balance and every storage slot — from scratch. By fetching a recent state snapshot from peers and validating it against the chain, snap sync cuts setup from days to hours. The speed is real, the mechanics are misunderstood, and the skipped work has consequences operators should know before their node depends on it.
What state sync normally costs
- State is the heavy part. Block history is append-only and relatively compact; world state is living data — accounts, balances, storage — that grows continuously and must be downloaded and validated account by account on a normal sync.
- Validation is the expensive part. A from-scratch sync re-executes history to reconstruct state, burning CPU and I/O for days. This is the work snap sync avoids.
How snap sync works instead
- Fetch a snapshot. The node downloads recent state snapshots — account ranges and storage segments — from peers that already have them.
- Verify against the chain. Snapshots are checked against the canonical state root: if the snapshot does not match the root the chain commits to, it is rejected. This is the key trust control — the snapshot must hash to what the chain says state should be.
- Fill the gaps. Recent state changes since the snapshot are re-applied from blocks, and the node continues normal operation from there.
- Skip the re-execution. Everything before the snapshot is trusted, not re-derived. The node starts with state, not with the work of computing state.
What snap sync skips, and what it means
- Historical state reconstruction. Snap-synced nodes cannot answer deep historical state queries the way an archival sync can. Explorers and analysts needing old state need archival infrastructure instead.
- Independent validation of old history. The node trusts the snapshot's pre-history, bounded by root verification. For most operations that is the correct trade; for trust-minimized infrastructure it is a documented compromise.
- Peer dependency during setup. Snapshots come from peers. Thin or homogeneous peer sets slow the download and concentrate trust in whoever supplies snapshots.
When snap sync fits, and when it does not
- Fits: standard full-node operation, RPC serving, staking infrastructure, rebuilds under time pressure — anywhere current state and recent history are the workload.
- Does not fit: archival research nodes, trust-minimized deployments, and anyone whose queries reach deep into history.
- The check: if your workload ever asks what state was at block N years ago, snap sync is the wrong tool; plan archival or a provider instead.
The takeaway
Snap sync trades days of state re-execution for hours of snapshot download, with root verification as the trust control and historical state as the skipped work. It is the right default for full nodes serving current state; it is the wrong default for archival and trust-minimized roles. Know what your node skipped, because that is exactly what it cannot answer later.