Skip to content
vortex replay

Vortex replay

Replay any Solana mainnet epoch, from genesis

For every epoch since genesis: where to download the snapshot and the blocks, the exact build mainnet ran, the commands, the bank hashes to expect and what a run costs. Every recipe here was run and reproduced mainnet.

0–1103
epochs with a proven recipe
191
builds, one per release used
28
release lines, v1.0 to v4.5
28
special cases, documented

How it works

Replaying an epoch rebuilds its banks from public data and checks them against the hashes mainnet agreed on.

1. A starting snapshot

A bank state shortly before the epoch ends: a Solana Foundation archive snapshot (ny5 or fr2), or Jito's snapshot of the epoch's last bank itself.

2. The blocks after it

The Foundation's archived ledger for that stretch, or the same blocks imported from the Foundation's Bigtable into a local ledger.

3. The build mainnet ran

The agave (earlier: solana) release the cluster ran at that boundary, plus small patches that speed replay up or read newer archives. None changes what a bank computes.

4. Bank hashes that match

ledger-tool create-snapshot replays to the epoch's last bank and the next epoch's first. Both hashes matched mainnet's: checked against votes before epoch 1064, block footers after.

Each epoch's recipe is a JSON file with the downloads, the build, shell commands to run in an empty directory, the expected hashes, other usable sources and a cost estimate. The commands fetch each build from the registry and the inputs from their buckets:

curl -s https://replay.vx.tools/v1/epochs/1000.json | jq -r '.commands[]'
# run those in an empty directory, with BILLING_PROJECT set to a GCP project of yours

Where the data comes from

Four public sources. The buckets are requester pays: you pass your own GCP billing project.

Solana Foundation ledger archive, New York (ny5)

ny5

gs://mainnet-beta-ledger-us-ny5

Region: us-west2. Requester pays.

Requester pays: pass your own billing project. Read it from us-west2 to avoid cross-region egress.

Solana Foundation ledger archive, Frankfurt (fr2)

fr2

gs://mainnet-beta-ledger-europe-fr2

Region: europe-west3. Requester pays.

Requester pays. Read it from europe-west3. Covers some boundaries ny5 does not.

Jito snapshot archive

jito

gs://jito-mainnet

Region: US multi-region. Requester pays.

Snapshots only, no blocks: the first bank of the next epoch needs its blocks from Bigtable.

Solana Foundation Bigtable (blocks)

bigtable

bigtable://mainnet-beta

Needs Bigtable read credentials from the Foundation; reads are billed to the instance's owner. Which build can import depends on the release line: see compatibility in this file. Imports by v1.x builds rebuild PoH (mock PoH) and need the epoch's hashes per tick; v2.1+ imports use the entries Bigtable recorded (from epoch 762).

Which sources each release line can use

Each epoch has one proven combination, and the epochs page lists the others that exist. Swapping ny5 and fr2 needs nothing. Snapshots load in every build that can meet them. Blocks from Bigtable need a build that can import them, which depends on the release line:

LineEpochsSnapshotsBlocks from Bigtable
v1.00-29ny5, fr2none yet: use a ny5 or fr2 ledger archive
v1.130-59ny5, fr2none yet: use a ny5 or fr2 ledger archive
v1.260-88, 90ny5, fr2v1.2.24 only: v1.7.15 `bigtable shreds` + `export-entries`, then v1.2.24 `import-entries`
v1.389, 91-117, 122-123ny5, fr2none yet: use a ny5 or fr2 ledger archive
v1.4118-121, 124-146, 149ny5, fr2none yet: use a ny5 or fr2 ledger archive
v1.5147-148, 150-172ny5, fr2none yet: use a ny5 or fr2 ledger archive
v1.6173-205, 208-229ny5, fr2none yet: use a ny5 or fr2 ledger archive
v1.7206-207, 230-257ny5, fr2own build
v1.8258-284ny5, fr2import with the v1.7.15 build (same ledger format), replay with this line's build
v1.9285-316ny5, fr2own build
v1.10317-357ny5, fr2, Jito (epochs 353-, except 367)own build
v1.13358-393, 395-400, 405-409ny5, fr2, Jito (epochs 353-, except 367)own build
v1.14394, 401-404, 410-506, 508-510ny5, fr2, Jito (epochs 353-, except 367)own build
v1.16507, 511-559ny5, fr2, Jito (epochs 353-, except 367)own build
v1.17560-607ny5, fr2, Jito (epochs 353-, except 367)own build
v1.18608-695ny5, fr2, Jito (epochs 353-, except 367)own build
v2.0696-748, 760-761ny5, fr2, Jito (epochs 353-, except 367)import with the v1.18.26 build (same ledger format), replay with this line's build
v2.1749-759, 762-780, 789ny5, fr2, Jito (epochs 353-, except 367)own build
v2.2781-788, 790-839ny5, fr2, Jito (epochs 353-, except 367)own build
v2.3840-867, 869-872ny5, fr2, Jito (epochs 353-, except 367)own build
v3.0868, 873-929ny5, fr2, Jito (epochs 353-, except 367)own build
v3.1930-972ny5, fr2, Jito (epochs 353-, except 367)own build
v4.0973-993ny5, fr2, Jito (epochs 353-, except 367)own build
v4.1994-1015ny5, fr2, Jito (epochs 353-, except 367)own build
v4.21016-1043ny5, fr2, Jito (epochs 353-, except 367)own build
v4.31044-1068ny5, fr2, Jito (epochs 353-, except 367)own build
v4.41069-1096ny5, fr2, Jito (epochs 353-, except 367)own build
v4.51097-1103ny5, fr2, Jito (epochs 353-, except 367)own build (no parallel fetch: fine for the 64 slots after a Jito snapshot, very slow for a whole epoch)

Builds and patches

One build per release mainnet ran, kept as a git branch and a downloadable binary.

The registry

Branch replay/<release> is the upstream release plus one commit per patch. Its binary is the GitHub release build/<release>; --version prints the upstream commit.

github.com/vortex-tools/replay (opening soon)

What the patches do

Skip work that replay of rooted blocks doesn't need (re-verifying signatures, recounting the capitalization, shrinking storage), compress archives on all cores, accept snapshots written by newer releases, and import blocks from Bigtable into releases that predate that command. Every build was checked by replaying mainnet and comparing bank hashes.

What a replay costs

Machine time plus bucket reads. Where you run decides most of the bill.

How the estimate works

  • Machine: n2d-highmem (8 GiB per vCPU), sized to 1.25× the replay's measured peak memory plus 8 GiB.
  • Hours: our measured run of that recipe (download, both banks, checks). Runs that shared a host were slower, so this errs high.
  • Compute: $0.0368/vCPU-hour, the all-in median of 71 of our billed Spot VMs in us-west2, plus disk at $0.1/GiB-month. On-demand costs several times more.
  • Bigtable reads are billed to the instance's owner, not to you.

Reads, per GiB

In the bucket's region$0.00
Other GCP region, same continent$0.02
Other GCP continent$0.05
Outside GCP$0.12

ny5 is in us-west2 and fr2 in europe-west3. Jito's bucket is US multi-region: $0.02/GiB from any GCP region. A full ledger archive read from the wrong region can cost more than the machine.

EpochReleaseInputsMachineHoursIn regionOutside GCP
10v1.0.16fr2 snapshot 0 GiB, fr2 ledger 14.8 GiB8 vCPU0.07$0.02$1.80
300v1.9.15fr2 snapshot 22 GiB, blocks from Bigtable32 vCPU0.48$0.58$3.22
500v1.14.23jito snapshot 45.3 GiB, blocks from Bigtable48 vCPU0.19$1.25$5.78
800v2.2.15ny5 snapshot 91.2 GiB, blocks from Bigtable32 vCPU3.99$4.95$16
1000v4.1.2ny5 snapshot 100.9 GiB, blocks from Bigtable32 vCPU1.15$1.43$14
1103v4.5.0-rc.1ny5 snapshot 108.8 GiB, ny5 ledger 575.5 GiB32 vCPU2.7$4.02$86

Running several epochs on one larger machine costs less per epoch: a 20-epoch batch of ours was billed $23.59, about $1.18 an epoch. The epochs page recomputes every estimate for where you run and your own price.

Special cases

Where the archive was broken, the node's version.txt was wrong, or the cluster changed releases mid-epoch. Each was worked out and proven.

Epoch 3v1.0.12archive defect

ny5 dirs without bounds.txt or with the pre-roots bounds format; no ny5 ledger for epoch 3's boundary. Workaround: fr2 copies of the ledger.

Epoch 4v1.0.12archive defect

ny5 dirs without bounds.txt or with the pre-roots bounds format; no ny5 ledger for epoch 3's boundary. Workaround: fr2 copies of the ledger.

Epoch 5v1.0.12archive defect

ny5 dirs without bounds.txt or with the pre-roots bounds format; no ny5 ledger for epoch 3's boundary. Workaround: fr2 copies of the ledger.

Epoch 29v1.0.23release override

version.txt (fr2 12959820) says v1.1.14. v1.1.14/15 switch to the nonce shred layout after slot 5,000,000 (9adf8b4fc8, 2020-05-25, "Reduce UNLOCK_NONCE_SLOT to ensure it is active on all three clusters"); mainnet switched after 13,115,515 (v1.0.23-24, v1.1.16). So v1.1.14 failed "failed to load entries" at the first block after the snapshot on both fr2 (12959821) and ny5 (12956677): not a ledger defect. 28 matched v1.0.23. plan-era.py now picks v1.0.23 for v1.1.14/15 boundaries in 5,000,001-13,115,515. Proven 2026-11-14 (early-29, fr2 inputs, vote check matched).

Epoch 67v1.2.24release overridearchive defect

Two releases, the way the cluster ran it. From the main snapshot 28943975 (as epoch 66) with blocks from Bigtable (v1.7.15 export, v1.2.24 import-entries): v1.2.26 to a snapshot at 29327550, then v1.2.24 from that snapshot to the boundary. In v1.2.20-25 a snapshot load left cross-program support (and the sol_create_program_address syscall) off until the next epoch; v1.2.26's hotfix a0190b4105 forces it on. Votes show most stake restarted inside epoch 67 on v1.2.24/25: at 29327576 87% of stake failed a Serum init with 0x0b9f0002 (unresolved sol_create_program_address) that CPI-on code runs; 29188719-29327575 matches CPI-on (77-97% of stake). v1.2.24 from the 29327550 snapshot reproduces CPI off to the boundary and on again at epoch 68. Proven 2026-11-14: step 1 bank 29327550 DFqojAb6 (97% of stake), step 2 (fix-67b) vote check matched through the boundary, last bank 29375999 EyRFw6ey, first bank 29376000 7oRpdW4o.

Epoch 120v1.4.13archive defect

dead block 52271993 (and its child 52272004) at the boundary in the ledger; the chain goes 52271992 -> 52272000. fr2's roots skip it, but --allow-unrooted picked banks from every full block and, with roots covering the first bank, skipped the fork check, so it chose 52271993 (fixed in boundary.sh: roots decide when they cover the boundary). Workaround: fr2 hourly snapshot 52271670 and fr2 ledger, image v64.

Epoch 149v1.4.26release override

version.txt says v1.5.7, tagged 2021-02-12, after the boundary (~2021-02-10); mainnet ran v1.4.2x. v1.5.7 matched the last bank but not epoch 150's first (inflation-feature activation). v1.4.26 matched both (2026-11-06 calibration, 2026-11-13 backfill).

Epoch 222v1.6.22release override

version.txt (fr2 96335949) says v1.6.25; it stopped at 96335950 on InvalidWritableAccount, a rejection of writable executable accounts added in v1.6.23 (3eee222667, 2021-09-09) that the cluster had not adopted at this boundary. 218-221 matched on v1.6.22. Proven 2026-11-14 (early-eu3, vote check matched).

Epoch 272v1.8.12archive defect

roots stop at 117935982, 17 slots before the boundary 117935999; data runs 41 slots past it. Workaround: gap ledger.

Epoch 286v1.9.9archive defect

roots stop at 123983960, 39 slots before the boundary; 5 forks cross it (tips 123984000-003, 004, 008, 012, 016) and no fork outlives the others by 32 slots. Workaround: ledger from Bigtable (confirmed blocks only) with fr2's hourly snapshot 123977965.

Epoch 287v1.9.9archive defect

no rooted slot within 64 slots up to the boundary 124415999 (a hole in the ledger). Workaround: fr2 copy (124415045).

Epoch 341v1.10.35archive defect

past the last root 147743925, 8 blocks after the boundary build on blocks at or before it. Workaround: ledger from Bigtable (gap-in/341).

Epoch 749v2.1.15release override

jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.

Epoch 750v2.1.15release override

jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.

Epoch 751v2.1.15release override

jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.

Epoch 752v2.1.15release override

jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.

Epoch 753v2.1.15release override

jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.

Epoch 754v2.1.15release override

jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.

Epoch 755v2.1.15release override

jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.

Epoch 756v2.1.15release override

jito-1's last epochs (2025-03-04..16), run on v2.1.15 for the same reason; the vote check proves each.

Epoch 757v2.1.15release override

empty version.txt: planner took the newest v2.0 tag (v2.0.25). Boundary 2025-03-16..18; mainnet ran v2.1. v2.0.25 matched the Jito last bank but not the first bank; v2.1.15 (2025-02-26) matched both.

Epoch 758v2.1.15release override

as 757 (boundary 2025-03-18..20).

Epoch 759v2.1.15release override

as 757 (boundary 2025-03-20..22).

Epoch 762v2.1.15release overridearchive defect

empty version.txt (ny5 329600263, 330002779): planner took the newest v2.0 tag (v2.0.25), as for 757-759; no Jito snapshots for these two, so they replay from ny5, each with a Bigtable gap import (ny5's ledgers have no replayable blocks from their snapshots to the boundary). Proven 2026-11-15: 762 (fix-762-763) and 763 (fix-763), vote check matched.

Epoch 763v2.1.15release overridearchive defect

empty version.txt (ny5 329600263, 330002779): planner took the newest v2.0 tag (v2.0.25), as for 757-759; no Jito snapshots for these two, so they replay from ny5, each with a Bigtable gap import (ny5's ledgers have no replayable blocks from their snapshots to the boundary). Proven 2026-11-15: 762 (fix-762-763) and 763 (fix-763), vote check matched.

Epoch 766v2.1.18archive defect

ledger roots start at 331343928, after the dir's own snapshot slot 331306213. Workaround: ny5's snapshot 331306213 with a ledger from Bigtable (gap-in/766).

Epoch 780v2.1.20archive defect

roots end at 337378132 but data runs to 337392034: 13,881 slots past the last root, the boundary 337391999 among them. Two forks cross it: 337392000-337392033 and 337392004; the ledger ends 29 slots past the rival. The next dir (337389901, fully rooted) starts at 337389701, after the only hourly snapshot (337373365). Workaround: --fork-margin 29: Bigtable's confirmed blocks follow 337392000 and skip 337392004.

Epoch 870v2.3.13archive defect

blocks 376241416, 376241417 and 376241431 read back as "Object is corrupt" (blocks/00000000166cfd08 ...), 14 attempts each, so the gap-fill import 376238898-376272063 failed (2026-11-12). Workaround: ny5 375836798 holds those slots rooted: its hourly snapshot 376188494 and its own ledger, no Bigtable.

For agents and scripts

Everything on this site is also plain JSON and text.

  • /llms.txt: the whole guide in one file, with one row per epoch.
  • /v1/epochs.json: one row per epoch.
  • /v1/epochs/{epoch}.json: the full recipe (commands, expected hashes, alternatives, estimate).
  • /v1/builds/{commit}.json: one build's release, patches, toolchain and epochs.
  • /v1/sources.json: sources, the compatibility table and the cost constants.