TL;DR
- If your program was built with an older toolchain, its next deploy, upgrade or finalisation fails once SIMD-0500 activates on that cluster
- Nothing on chain stops running; the change only blocks loader operations on SBPFv0, v1 and v2 bytecode
- Testnet activated November 23, and mainnet is expected with Agave 4.4, so a v3-ready toolchain is what keeps a future hotfix unblocked
- SBPFv3 is a real rebuild: update your toolchain, fix hand-declared syscalls and re-check stack usage
- Check any cluster's status through your Triton One endpoint with solana feature status
After SIMD-0500 activates on a cluster, that cluster only accepts programs built for SBPFv3 when you deploy, upgrade or finalise. Your running programs keep working. If you ship a program with an older toolchain, you need to rebuild before your next deploy – we’ll walk you through how.
This is already active on the testnet cluster, and will be activated in devnet and mainnet soon.
What's happening
SIMD-0500 makes SBPFv3 the minimum bytecode version for three upgradeable loader operations. Once active, the loader rejects any SBPFv0, v1 or v2 ELF in:
The feature gate is B8JJXCy5amZyWG9r7EnUYLwzXSXTxG7GZ1qZ1qggo83g. Rollout follows the usual order:
- Testnet: epoch 1097, November 23, ~20:00 UTC.
- Devnet: soon after testnet; date to be announced.
- Mainnet: expected with Agave 4.4.
You can check the status on any cluster through your Triton One endpoint:
solana feature status B8JJXCy5amZyWG9r7EnUYLwzXSXTxG7GZ1qZ1qggo83g --url <YOUR_TRITON_ENDPOINT>What is and isn't affected
Program execution is not affected (for now). Programs already on chain keep running in the version they were built for.
- Finalised programs are untouched. They can't be upgraded anyway, so SIMD-0500 doesn't change anything for them.
- Programs you plan to finalise: if you finalise before SIMD-0500 is active on a cluster, you can do it in the program's current SBPF version. After activation, you must rebuild for SBPFv3 before you can finalise.
- Upgradeable programs on v0, v1, or v2 continue to execute, but their next upgrade must ship an SBPFv3 build. The program ID stays the same.
- Writing a buffer, extending a program and closing accounts are not affected.
In short: plan your v3 rebuild now so a hotfix after activation is not blocked by a toolchain upgrade.
What you'll see if you haven't migrated
Deploys, upgrades and finalisations of old bytecode fail with InvalidAccountData from the upgradeable loader:
Program BPFLoaderUpgradeab1e11111111111111111111111 failed: invalid account data for instructionIf you see this after activation, your program was not built for SBPFv3. The CLI writes the program to a buffer account before the deploy fails, so a rejected deploy leaves that buffer and its rent behind. List and reclaim them with solana program show --buffers and solana program close --buffers.
What to do
- Update your toolchain. Minimum versions: platform-tools v1.56+, cargo-build-sbf v4.2.0+, solana-define-syscall v3.0.0+. Anchor users need v1.2.0+.
- Switch cargo-build-sbf source if needed. If it came from the Agave bundle, install it directly with cargo install cargo-build-sbf.
- Rebuild: cargo build-sbf --arch v3
- Verify the ELF header: readelf -h program.so | grep Flags should show 0x3 (CPU Version 3). 0x0 means v0.
- Test. Build with -z defs to catch unresolved symbols, then test in Mollusk, LiteSVM, Surfpool or Anchor.
- Redeploy before SIMD-0500 activates on the cluster you deploy to, or right after, using your v3 build.
Testing frameworks and CI
Test setups that deploy legacy bytecode will break, even if your production program is fine. solana-test-validator 4.3.0+ starts with SIMD-0500 active from genesis, so a v0 build fails to deploy locally today.
While you plan the migration, you have two ways to keep testing older SBPF versions:
- Deactivate the feature on your local validator:
solana-test-validator --reset --deactivate-feature B8JJXCy5amZyWG9r7EnUYLwzXSXTxG7GZ1qZ1qggo83g- Bypass deployment entirely. Dump your current on-chain program and load it at genesis, which skips the deploy check:
solana program dump <PROGRAM_ID> program.so --url <YOUR_TRITON_ENDPOINT>
solana-test-validator --reset --upgradeable-program <PROGRAM_ID> program.so <PROGRAM_AUTHORITY_ADDRESS>Mocks and SVM-based harnesses (Mollusk, LiteSVM, Surfpool) that run loader checks need the same treatment: disable the feature in their feature set, or load the ELF directly instead of deploying it. Both are stopgaps. The end state is a v3 build in CI.
What can break
SBPFv3 is a real rebuild, not a header change. Watch for these:
- Hand-declared syscalls. Syscalls declared with extern "C" leave an unresolved symbol. The deploy succeeds, then the program loops to CallDepthExceeded when it hits that call. Use define_syscall! from solana-define-syscall v3.0.0+.
- Stack usage. SBPFv3 drops dynamic stack frames. If you were near the 4096-byte frame limit, re-measure. The compiler warns in build logs but does not fail the build.
- Old platform-tools. Passing --arch v3 to platform-tools older than v1.53 produces bytecode that is not SBPFv3.
- Local validators and CI, covered in the section above.
Questions?
If a deploy fails through your Triton One endpoint and you're not sure why, reach out to us on your dedicated support channel with the transaction signature and the cluster. We're happy to help you check feature status and confirm your build.
Sign in