-
Notifications
You must be signed in to change notification settings - Fork 878
2025 10 01 Testnet rollback and restart
As of 2025-10-02 11:40 UTC testnet is back online. The instructions below are no longer relevant. Nodes that haven't yet joined the cluster will need to update their shred version, download a snapshot, and start normally:
--expected-shred-version 41708 \
This testnet restart is NOT urgent. Follow these instructions when you have time, but don't skip sleep or disrupt other plans for this.
| Attribute | Value |
|---|---|
| Ledger tool version | v3.0.4 |
| Validator version | Agave: v2.3.11 Frankendancer: v0.708.20306 |
| Snapshot slot | 361144648 |
| Restart slot | 361144649 |
| Shred version | 41708 |
| Expected bank hash | 4NuNyboT36pwwGJvMPZLreFqYpkbpBjX82nkt4AkJ9QT |
This is necessary to create the correct snapshot in step 3.
Build Agave v3.0.4. Build instructions are available here: https://docs.anza.xyz/cli/install#build-from-source
Confirm that agave-ledger-tool --version shows version v3.0.4
This command creates a snapshot but removes some activated feature gate accounts.
agave-ledger-tool --ledger <ledger-path> create-snapshot \
--incremental \
--snapshots <snapshot-path> \
--hard-fork 361144648 \
--deactivate-feature-gate \
htsptAwi2yRoZH83SKaUXykeZGtZHgxkS2QwW1pssR8 \
turbnbNRp22nwZCmgVVXFSshz7H7V23zMzQgA46YpmQ \
--enable-capitalization-change \
-- 361144648 <snapshot-path>
The output should include this at (or near) the end:
Successfully created snapshot for slot 361144649, hash 4NuNyboT36pwwGJvMPZLreFqYpkbpBjX82nkt4AkJ9QT, base slot: <BASE_SLOT>: /home/sol/ledger-snapshots/incremental-snapshot-<BASE_SLOT>-361144649-<SNAPSHOT_HASH>.tar.zst
Capitalization change: -1907040 lamports
Shred version: 41708
The capitalization change is expected because we deactivated a feature gate.
Note that each operator's snapshot file name may contain different base slot number and hash, but
- the bank hash should be 4NuNyboT36pwwGJvMPZLreFqYpkbpBjX82nkt4AkJ9QT
- the second slot number should be 361144649
- the shred version should be 41708
Once you have created a snapshot, move all the other snapshots to a backup directory, so your snapshot directory contains one full snapshot and one incremental snapshot. Note that the <BASE_SLOT> in these two filenames should match.
snapshot-<BASE_SLOT>-<BASE_SNAPSHOT_HASH>.tar.zst
incremental-snapshot-<BASE_SLOT>-361144649-<SNAPSHOT_HASH>.tar.zst
If you fail to create a snapshot, see the appendix for possible fixes.
This is the version we want to use to restart the cluster.
Agave: agave-install init v2.3.11
Frankendancer: Install v0.708.20306
Add these arguments to your validator startup script:
--wait-for-supermajority 361144649 \
--expected-shred-version 41708 \
--expected-bank-hash 4NuNyboT36pwwGJvMPZLreFqYpkbpBjX82nkt4AkJ9QT \
As it starts, the validator will load the snapshot for slot 361144649 and wait for 80% of the stake to come online before producing/validating new blocks.
To confirm your restarted validator is correctly waiting for 80% stake, look for this periodic log message to confirm it is waiting:
INFO solana_core::validator] Waiting for 80% of activated stake at slot 361144649 to be in gossip...
And if you have RPC enabled, ask it for the current slot:
solana --url http://127.0.0.1:8899 slot
Any number other than 361144649 means you did not complete the steps correctly.
Once started, you should see log entries for “active stake” visible in gossip and “waiting for 80% of stake” to be visible. You can track these to see how the stake progresses.
If you get an error like this:
Error: Slot 361144648 is not available
Or this:
Unable to process blockstore from starting slot <slot> to 361144648; the ending slot is less than the starting slot. The starting slot will be the latest snapshot slot, or genesis if the --no-snapshot flag is specified or if no snapshots are found.
Your snapshots directory contains a snapshot that is for a slot >361144648. If you also have a snapshot for slot <=361144648 then move snapshots for slots >361144648 to a backup directory and run the agave-ledger-tool command again. If you do not have a snapshot for slot <=361144648 then you will need to download a snapshot
If you successfully created a snapshot, resume the instructions above starting at Step 4. If you are unable to create a snapshot, follow the instructions below on downloading a snapshot.
If you could not produce your snapshot locally, follow these appendix steps
If you are unable to generate a snapshot locally for slot 361144649 you will need to download one from a known validator. Add these lines to your startup script.
--known-validator 5D1fNXzvv5NjV1ysLjirC4WY92RNsVH18vjmcszZd8on \
--expected-shred-version 41708 \
Remove the flag --no-snapshot-fetch in your startup script if it is present.
Verify that you have a new snapshot in your snapshot directory. If the snapshot is done downloading, stop your validator process.
Add the flag --no-snapshot-fetch to your startup script
Resume the instructions above starting at Step 4.
- General
- Feature Gates
- Technical
- Policy
- Schedule
- Migration
- Restart Instructions