Disable deployment of SBPF-v0, -v1 and -v2
- Idea
- Draft
- Review
- Accept
- Implement
- Active
Decision brief
Why this proposal matters
Disable deployment of SBPFv0, SBPFv1 and SBPFv2.
Proposal at a glance
What changes
- deployment: DeployWithMaxDataLen
- redeployment: Upgrade
- finalization: SetAuthority and SetAuthorityChecked with no new authority
Stakeholder map
Who is affected
Builders & client teams Medium impact
dApp developers using outdated toolchains will have to update them and adjust their programs before they can re-/deploy or finalize them.
Action may be requiredValidators & operators Medium impact
Furthermore, testing frameworks and mock ups will have to be adapted to either deactivate this feature or bypass the entire deployment in order to continue to test older SBPF versions.
Action requirement unknownUsers & stakers Impact unknown
No proposal-specific evidence was found for this group.
Action requirement unknownGovernance & ecosystem Impact unknown
No proposal-specific evidence was found for this group.
Action requirement unknownExact source revision
Full proposal document
1974773ff227Summary
Disable deployment of SBPFv0, SBPFv1 and SBPFv2.
Motivation
The number of programs using these older SBPF versions will decrease over time as dApp developers will have to target at least SBPFv3 for re-deployments. This will eventually allow us to deprecate the execution of these SBPF versions after their existence (and thus also usage) drops to near zero.
Dependencies
This proposal depends on the following previously accepted proposals:
which together form SBPFv3. Thus, there will be a new valid deployment target before we deactivate the older ones.
New Terminology
None.
Detailed Design
After the activation of the associated feature key a validator must fail to (re-)deploy or finalize programs with any SBPF version older than SBPFv3.
Currently loader-v3 is the only loader with program management enabled, thus this means for each of the following loader-v3 instructions:
- deployment:
DeployWithMaxDataLen - redeployment:
Upgrade - finalization:
SetAuthorityandSetAuthorityCheckedwith no new authority
must return InstructionError::InvalidAccountData when the ELF (in the buffer
account for re-/deployments and in the programdata account for finalization)
contains a SBPFv0, SBPFv1 or SBPFv2 program. While InitializeBuffer, Write,
ExtendProgram and Close remain unaffected.
In order not to interfere with other SIMDs, all core program migrations (SIMD-0418) and upgrades (SIMD-0495) are exempt from this. These core programs, while owned by loader-v3, are not using the program management instructions of loader-v3 anyway.
Alternatives Considered
Not deprecating some or all older SBPF versions.
Impact
dApp developers using outdated toolchains will have to update them and adjust their programs before they can re-/deploy or finalize them.
Furthermore, testing frameworks and mock ups will have to be adapted to either deactivate this feature or bypass the entire deployment in order to continue to test older SBPF versions.
Currently Deployed SBPF Versions per Loader (Mainnet)
Analysis performed using Blueshift's program-sync tool.
| Loader | SBPFv0 | SBPFv1 | SBPFv2 |
|---|---|---|---|
| Loader-v1 (Finalized) | 136 | 0 | 0 |
| Loader-v2 (Finalized) | 315 | 0 | 0 |
| Loader-v3 (Finalized) | 422 | 0 | 0 |
| Loader-v3 (Upgradable) | 17279 | 12 | 41 |
Security Considerations
None.
Backwards Compatibility
Execution of SBPFv0, SBPFv1 and SBPFv2 will remain supported for now.
Evidence graph
Related proposals and rollout
One or more sources are unavailable.
Upstream review record
Upstream discussion & review
One or more sources are unavailable.
Provenance
Evidence & technical details
Rollout or chain data, source revisions, freshness and integrity. 2
Provenance
Evidence & technical details
Rollout or chain data, source revisions, freshness and integrity.SIMD
Deployment Status
Feature Gate not yet created
Exact source revision
Sources & integrity
- Proposal document pinned_commit_blob
1974773ff2279699b534e41934248c40a1413bfa - simd-document document · current · Dec 4, 2026
1974773ff2279699b534e41934248c40a1413bfa
One or more sources are unavailable.
One or more sources are unavailable.
simd.watch community discussion · SIMD-0500
Powered by Giscus · Sign in with GitHub to comment
Community comments load when this section approaches the viewport.