How Compression Works
State compression stores a large set of records as leaves in a merkle tree. Only the root hash (and optional canopy nodes) live on-chain; updaters supply proofs that a leaf change is valid without storing every leaf in a Solana account.