SIMDs (Solana Improvement Documents)
Alpenglow
This proposal changes the core consensus protocol from the current one, based on Proof-of-History and TowerBFT, to Alpenglow, specifically the Votor parts of Alpenglow. Compared to the old protocol, A...
Big Integer ModExp Syscall
Add a sol_big_mod_exp syscall that computes modular exponentiation over unsigned big integers:
Static Instruction Limit
Transactions will fail execution in SVM if the transactions use more than 64 instructions, including CPI calls. This proposal is to make transactions that use more than 64 top-level instructions fail ...
SBPF Static Syscalls
This SIMD introduces static syscalls, using the eBPF call instruction encoding, to remove runtime relocations while keeping compatibility with the eBPF encoding.
Vote Account Address Keyed Leader Schedule
The epoch leader schedule for block production will be migrated from being keyed by validator identity addresses to being keyed by vote account addresses. The expected block signer for a given slot wi...
Loaded Transaction Data Size Specification
Before a transaction can be executed, every account it may read from or write to must be loaded, including any programs it may call. The amount of data a transaction is allowed to load is capped, and ...
SBPF stricter ELF headers
Imposes more restrictions on what is expected of ELF headers.
Deprecate Rent Exemption Threshold
This proposal aims to eliminate the use of floating-point operations to determine whether an account is rent exempt or not in programs by deprecating the use of the exempt_threshold (f64) value.
Custom Commission Collector Account
Allow validators to specify custom commission collector accounts where block revenue and inflation rewards commissions will be deposited.
Delay Commission Updates
Allow validators to update their commission rate at any time but delay those commission updates for at least one full epoch.
Alt-BN128 Little Endian compatibility
Extend the Alt-BN128 syscalls to add little endian support.
Increase Block Limits to 100M CUs
Increase the block limit to 100M CUs.
Commission Rate in Basis Points
Allow validators to update their inflations reward commission rate with basis points and update commission calculation.
BN254 G2 Arithmetic Syscalls
Extend the existing sol_alt_bn128_group_op syscall to support native G2 curve point arithmetic (addition, subtraction, and scalar multiplication) on the BN254 curve.
Increase writeable account limit to 20M CUs
Increase the per account CU limit from a static 12M to 40% of the block CU limit.
CreateAccountAllowPrefund
A CreateAccountAllowPrefund instruction added to the system program reduces network overhead for applications that need to fund account rent (in whole or in part) in advance of account creation.
Enforce 32 data + 32 coding shreds
All clients currently send 32 data + 32 coding shreds, however Turbine still allows to send and receive a variable number of shreds. With this change we will enforce sending and receiving only 32 data...
Reduce ChaCha rounds for Turbine from 20 to 8
Reduce the number of ChaCha rounds for turbine weighted shuffle calculation from 20 to 8 in order to reduce the amount of compute time spent on this.
Markers for Alpenglow Fast Leader Handover
We propose augmenting BlockMarkerV1, introduced in SIMD-0307, to include BlockHeader and UpdateParent variants. BlockHeader, placed at the beginning of a block, indicates the parent of the block. Upda...
Increase CPI Account Infos Limit
Increase the maximum number of account info's for cross-program invoked (CPI) instructions from 64 to 255 and consume compute units for serialized account info's and instruction account meta's.
Validate chained block id
Specify the protocol for validating chained block ids under both TowerBFT and Alpenglow.
Alpenglow Validator Admission Ticket
This SIMD describes how the validator admission ticket (VAT) collection described in SIMD 326(https://github.com/solana-foundation/solana-improvement-documents/pull/326) will be implemented. Specifica...
Poseidon Syscall - Enforce Input Length
Require all Poseidon hash inputs to have a fixed length determined by the number of bytes used by the modulus of a prime field.
eBPF ISA compatibility
This SIMD introduces instruction set architecture (ISA) changes to make the sBPF virtual machine compatible with the latest existing version of eBPF ISA generated by its LLVM backend.
Alpenglow migration
Migrate to Alpenglow from TowerBFT
Transaction V1 Format
The current live transaction formats, v0 and legacy, have a number of limitations that make them unsuitable for efficient ingestion, processing, and unable to support developer features that are requ...
BLS Pubkey management in vote account
This proposal specifies in detail how a BLS public key can be generated by users via updated existing tools and how they can put the generated BLS public keys into their vote accounts for voting in Al...
BLS12-381 Elliptic Curve Syscalls
This proposal introduces a new family of syscalls to provide native support for cryptographic operations on the BLS12-381 elliptic curve. These syscalls will expose:
Stake Program Float to Fixed-Point
This SIMD proposes replacing all IEEE-754 double-precision floating-point arithmetic within the Solana Stake Program & validator client's warmup/ cooldown logic with a fixed-point implementation using...
Adapt Runtime for Rent Increases
To allow for non-disruptive rent increases, the Solana runtime relaxes post-execution minimum balance checks and adjusts stake delegations during epoch rewards calculations.
Maximum instruction accounts
This SIMD imposes a hard restriction on the maximum number of account references that an instruction may declare. There is already a limit of 255 account references imposed during serialization in A...
Loader V3: Minimum Extend Program Size
Enforce a minimum extension size of 10,240 bytes (10 KiB) on the ExtendProgram instruction in Loader V3, mitigating the existing denial-of-service vector through economic deterrence while preserving t...
Incrementally Reduce lamports_per_byte to 696
Reduce lamports_per_byte incrementally from 6960 to 696 via five steps: 6333, 5080, 2575, 1322, and 696. This proposal supersedes SIMD-0436, providing a more granular reduction schedule.
Direct Account Pointers in Program Input
Serialize pointers for instruction accounts to allow direct account access without requiring parsing of the account section.
Stop special-casing of Vote CU cost
This proposal removes the use of statically defined compute unit (CU) costs for Simple Vote transactions and instead accounts for them in the same way as normal transactions when enforcing block CU li...
Syscall Parameter Address Restrictions
Syscall parameter related changes split off from SIMD-0219: Removing pitfalls and foot-guns from the ABI (including syscalls) and runtime.
Virtual Address Space Adjustments
Virtual address space related changes split off from SIMD-0219: Removing pitfalls and foot-guns from the ABI (including syscalls) and runtime.
Upgrade BPF Stake Program to v5.0.0
This SIMD will upgrade the Core BPF Stake Program to v5.0.0.
Sha512 Syscall
Introduce a sol_sha512 syscall with an identical interface to sol_sha256, producing SHA-512 hashes and outputting the 64-byte result.
Disallow Nonce Account as Program ID
A nonce transaction may not specify its nonce account as a program ID. Any transaction that violates this condition is considered invalid and must be discarded. A block that contains such a transactio...
Vote Account v5
Introduces Vote Account v5, the successor to Vote Account v4. This is a new vote account layout designed to facilitate zero-copy access, support the geo-aware leader schedule and include more informat...
Loader V3: Remove ExtendProgram
This SIMD proposes removing the ExtendProgram instruction from Loader V3. With SIMD-0433, the Upgrade instruction resizes the programdata account to match the ELF being deployed, so extension as a sep...
p-ATA: CU-optimized ATA Program
This proposal outlines a plan to replace the current Associated Token Account program (ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL) with a Pinocchio-based, CU-optimized implementation (p-ATA) at the ...
BN254 Pairing with Target Group Output
Add a new opcode, ALT_BN128_PAIRING_MAP, to the existing sol_alt_bn128_group_op syscall. It computes the same product of pairings on the BN254 curve as the existing ALT_BN128_PAIRING opcode, but write...
Double Disinflation Rate
Reduce the inflation schedule by increasing the disinflation rate from the current -15% rate to -30%.
Syscall and Sysvar for last restart slot
Create a new syscall and sysvar that can be used to get the last restart slot.
Precompile for verifying secp256r1 sig.
Adding a precompile to support the verification of signatures generated on the secp256r1 curve. Analogous to the support for secp256k1 and ed25519 signatures that already exists in form of the KeccakS...
Allow Commission Decrease at Any Time
The commission_updates_only_allowed_in_first_half_of_epoch feature disallows commission decrease in the second half of epoch. Given that the purpose of this feature was to prevent 'rug pulls' which ar...
Disable rent fees collection
Add a new feature to disable rent fees collections.
Syscall Get-Epoch-Stake
A syscall to retrieve a vote account's delegated stake or the total cluster stake for the current epoch.
Remove Accounts `is_executable` Flag Checks
Remove all checks of accounts is_executable flag which can throw errors in the runtime.
SBPF Dynamic stack frames
The SVM currently allocates a fixed amount of stack space to each function frame. We propose allowing programs to dynamically manage their stack space through the introduction of an explicit stack p...
Reserve minimal CUs for builtins
When transactions do not request a specific compute unit limit, the Solana runtime conservatively allocates 200,000 compute units for each tx-level instruction (excluding compute budget instructions) ...
SBPF instruction encoding improvements
There are some instructions with questionable encodings, that when slightly adjusted, could significantly simplify verification and execution of programs.
SBPF arithmetics improvements
This proposal introduces wide multiplication, signed division and explicit sign extension to SBPF.
Disable Partitioned Rent Updates
Partitioned rent collection should be removed since it will no longer be useful after rent collection is disabled by https://github.com/solana-labs/solana/issues/33946 (https://github.com/solana-found...
Consume requested CUs for sBPF failures
Adjusting how CU consumption is measured based on the conditions of transaction execution: successful completion will consume actual CUs, but certain irregular failures in the sBPF VM will result in t...
Vote Account v4
Add a new version of vote account state to support alpenglow, block revenue distribution, and commission improvements.
Migrate Stake to Core BPF
Migrate the Stake program to Core BPF.
Raise Block Limits to 50M CUs
Raise the block limit from 48M to 50M CUs.
Fix alt-bn128 multiplication syscall length
The alt_bn128_multiplication syscall takes in a byte slice as input, interprets the bytes as a bn128 elliptic curve point/scalar pair, and applies point-scalar multiplication. If the byte slice input ...
Static Nonce Account Only
The advance nonce instruction in a transaction can currently specify any account in the transaction as the account to advance. This proposal would restrict the advance nonce instruction to only be abl...
Increase Block Limits to 60M CUs
Increase the block limit to 60M CUs.
p-token: Efficient Token program
Replace the current version of SPL Token (TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA) program by a CU-optimized one (p-token).
Drop unchained merkle shreds
As the new shred format is being sent by all clients, this feature deprecates the old shred format.
VM Register 2 Instruction Data Pointer
Provide a pointer to instruction data in VM register 2 (r2) at program entrypoint, enabling direct access to instruction data without having to parse the accounts section of the serialized input regio...
Fix alt_bn128_pairing syscall length check
The alt_bn128_pairing syscall takes a byte slice as input, interprets the bytes as an array of pairs of g1 and g2 points on bn128 elliptic curve, and applies a pairing operation. If the byte slice inp...
Relax program data account check in migration
This proposal relaxes the requirements for runtime-level migrations of programs (such as builtins) to permit system-owned programdata accounts to hold lamports.
Reduce Slot Times
Reduce Solana's target slot time from 400ms to 200ms in four feature-gated steps:
Remove Floating Point from Runtime
Replace floating-point arithmetic in consensus-critical inflation and rent calculations with deterministic integer arithmetic.
Relax Entry Constraints
Remove the constraint that transaction entries cannot contain conflicting transactions.
Hash validation in program upgrades
This proposal adds a hash validation step to native and Loader v2 to v3 program migrations and Core BPF program upgrades.
ABIv1 invoke signed V2 syscall
This proposal introduces a new invoke syscall with an improved API to handle account information in CPI (cross-program invocation) calls, aiming to reduce the memory overhead and simplify the process ...
Pass ABIv1 input metadata via registers r3–r5
Provide additional input metadata in VM registers 3 (r3), 4 (r4) and 5 (r5), allowing programs to reconstruct the instruction data and accounts slices without calculating offsets or loading their leng...
Unbound LoaderV3 Instruction Data
LoaderV3 currently bounds instruction deserialization at 1232 bytes, the traditional maximum transaction size. This prevents using most of the 4096 bytes made available by Transaction V1(https://githu...
Stricter shred validation
Shred validation currently allows certain shreds that seem like they should be invalid. This leads to lots of corner cases when a new client bases their behavior on what Agave implicitly allows rathe...
secp256r1 (NIST P-256) Curve Syscalls
This proposal introduces support for the secp256r1 (also known as NIST P-256) elliptic curve to Solana's existing generalized curve syscalls. These syscalls will expose:
Loader V3: Allow Prefunded ProgramData
This SIMD proposes changing the DeployWithMaxDataLen instruction in Loader V3 to create the programdata account with the System program's CreateAccountAllowPrefund instruction (SIMD-0312) instead of C...
Single Program Runtime Environment
Today, a program is verified on deployment against the program runtime environment of the next slot. This proposal changes deployment to verify against the environment of the current slot - the same o...
Vote Account Initialize V2
This proposal introduces the InitializeAccountV2 instruction to the Vote program, which allows creating new vote accounts with all vote state v4 fields — including BLS public keys — at account creatio...
Homomorphic Hashing of Account State
This proposal adds a new hash, Accounts Lattice Hash, that uses homomorphic hashing to maintain a hash of the total account state. The Accounts Lattice Hash is both fast to update, and secure, enabli...
Relaxing Transaction Signature Verification
This proposal replaces the verify_strict semantics used in Solana, derived from Agave's usage of ed25519-dalek's verify_strict, with the cofactored verification scheme described in Taming the many EdD...
Leader Info Syscall
Create a new syscall that returns the leader for the current & the next slot.
Increase TxV1 Account Lock Limit to 96
Increase the maximum number of account addresses in a v1 transaction from 64 to 96. This limit includes all addresses in the transaction's account list: signers, program IDs, and both writable and rea...
Early detection of instruction trace overflow
The protocol only allows a transaction to execute 64 instructions, accounting for both top level and CPIs. Runtime counts executed instructions to determine when to fail a transaction. This SIMD pro...
Prohibit Vote Account Self-Withdrawals
Reject a Vote Program Withdraw instruction when the vote account and recipient resolve to the same address. After activation, every authorized self-withdrawal returns InvalidArgument. Other withdrawal...
Prohibit Nonce Account Self-Withdrawals
Reject a System Program WithdrawNonceAccount instruction when the nonce account and recipient resolve to the same address. After validating the instruction accounts and nonce state, the System Program...
DeactivateDelinquent for Closed Vote Accounts
Allow the Stake Program's existing DeactivateDelinquent instruction to deactivate stake delegated to a closed vote account. The delegated vote account is treated as closed when its address is no longe...
Remove Inactive Stakes from Rewards
The partitioned epoch rewards process currently requires all stake accounts, including inactive stakes, to be considered when computing the lattice hash and rewards partition count. But inactive stake...
Loader V3: Set Program Data to ELF Length
This SIMD proposes changing the default behavior of program upgrades to automatically resize the program data account so that its ELF region matches the length of the ELF being deployed. The total acc...
Base Inclusion and Resource-based Fee
We split the present static 5000-lamport per-signature fee (2500 burned, 2500 to the leader) into two components:
Relax Fee-Payer Constraint
This proposal aims to relax the handling of invalid fee-payers for blockhash transactions in Solana. Currently, if a transaction with an invalid fee-payer is included in a block, the entire block is r...
Multi Delegation Stake Account
A new "multi stake" account that allows for multiple movements of stake, useful for simpler stake movement through more activations, deactivations, or redelegation.
Core BPF Upgrade Procedure
This SIMD describes the procedure for upgrading a Core BPF program that may have been migrated from a native builtin or otherwise deployed on-chain as a core program. Each individual Core BPF program ...
Relax Program Buffer Constraints
This SIMD proposes relaxing current constraints on program buffers used by the DeployWithMaxDataLen (initial deployment) and Upgrade (redeployment) instructions, currently requiring them to:
Disable deployment of SBPF-v0, -v1 and -v2
Disable deployment of SBPFv0, SBPFv1 and SBPFv2.
Loader V3: Reclaim Closed Program
This SIMD proposes changing the default behavior when closing upgradeable programs so that program accounts are fully reclaimed and their addresses become reusable. Tombstoning program accounts would ...
Block Revenue Sharing
A new mechanism is proposed to allow validators to share part of their block revenue with their delegators. Commission rates from validator vote accounts will be used by the protocol to calculate post...
Upgrade secp256k1 to k256 (Agave-specific)
Transition the secp256k1 precompile and syscall implementation in the Agave validator client from the libsecp256k1 crate to the k256 crate. This is an Agave-specific upgrade, but make this upgrade beh...
Solana Proposal Process
A proposal is a design document describing a new feature for Solana or its processes or environment. The proposal should document the rationale for the feature and enough documentation to understand t...
Enable Loader v2 to v3 Program Migrations
This proposal introduces a feature-gated mechanism for runtime-level migration of Loader v2 programs to Loader v3.
Reduce lamports_per_byte to 3480
Reduce lamports_per_byte by 50% to 3480, which is equivalent to reducing the rent-exempt minimum balance by half for all new and existing accounts.
Safeguard for rent-exempt minimum increase
Protective feature to increase rent-exempt minimum balance back to the legacy value of 6960 per-byte. This should only be activated in response to excessive state growth observed on mainnet beta.
Serialize Block ID in Bank into Snapshot
Currently the block ID (the merkle root of the last FEC set) of the snapshot slot is not included in the snapshot Bank Fields. This would enforce the snapshot producer to include the block ID in the s...
Larger Transaction Size
Historically, messages transmitted over the network must not exceed the IPv6 MTU size to ensure a fast and reliable network delivery. Solana has used a conservative MTU size of 1280 bytes, which afte...
Add `bank_hash` to block footer.
This proposal adds the bank hash to the block footer and introduces validity constraints to ensure the bank hash matches the expected value.
Relax Invalid Nonced Transactions Constraint
This proposal relaxes the handling of invalid durable nonce transactions during block replay. Instead of rejecting the entire block when an invalid nonce is encountered, the transaction should be mark...
Stricter ABI and Runtime Constraints
Removing pitfalls and foot-guns from the ABI (including syscalls) and runtime.
Add Block Footer
Add a block footer to Solana blocks and expose footer fields in the getBlock rpc endpoint.
Timely Vote Credits
Award a variable number of vote credits per voted on slot, with more credits being given for votes that have "less latency" than votes that have "more latency".
Get-Sysvar Syscall
This proposal outlines a new syscall interface for sysvars; one which can retrieve dynamic ranges of sysvar data without fully copying the entire data structure.
Lift the CPI caller restriction
Remove the check which forces CPI callers to have the program account of the callee available to them as an instruction account.
Snapshots use Accounts Lattice Hash
Use the Accounts Lattice Hash as the Snapshot Hash, which enables removing the merkle-based accounts hash calculation.
Removes Accounts Delta Hash
With the introduction of the Accounts Lattice Hash (SIMD-215), the merkle-based Accounts Delta Hash is redundant and can be removed.
Sets rent_epoch to a constant in the VM
Set the value of rent_epoch—as serialized into the VM for transaction processing—to a constant.
Raise CPI Nesting Limit
Increase the maximum number of nested CPI calls.
Slashable event verification
This proposal describes an enshrined on-chain program to verify proofs that a validator committed a slashable infraction. This program creates reports on chain for use in future SIMDs.
Enable Core BPF Programs
This proposal introduces the concept of Core BPF programs: programs which are essential to network operations. Currently, these exist as built-in programs known as "native" programs.
Programify Feature Gate Program
This proposal suggests replacing the non-existent native program at address Feature111111111111111111111111111111111111 with a Core BPF Program, as described in SIMD 0088(https://github.com/solana-fou...
Maintain Dynamic Set of Reserved Account Keys
The transaction scheduler and the runtime both demote transaction write locks for builtin programs and sysvars using a static list of reserved IDs. This proposal replaces the currently used static lis...
Partitioned Epoch Rewards Distribution
A new way to distribute epoch rewards across multiple blocks is proposed to address the current performance problems associated with epoch reward distribution in a first block of a new epoch.
Migrate Address Lookup Table to Core BPF
Migrate the Address Lookup Table program to Core BPF.
EC Syscalls - Abort on Unsupported Curve/Ops
Update the curve25519 syscalls functions from returning an error code 1 (Ok(1) in rust) to returning an error type Err(SyscallError::InvalidAttribute) when invoked on unsupported curve id or group op ...
Deprecate legacy vote instructions
Disables the legacy Vote, UpdateVoteState and CompactUpdateVoteState instruction variants.
Migrate Config to Core BPF
Migrate the Config program to Core BPF.
Migrate Snapshot Serialized Epoch Stakes
Migrate bank snapshots to a new "epoch stakes" field in order to store additional stake state needed for calculating partitioned rewards.
Precompiles
Define a unified behavior for precompiles, and highlight a few minor changes to the existing precompiles to minimize differences.
ZK ElGamal Proof Program
Deprecate the existing ZK Token Proof program that is tailored for the SPL Token program. Replace it with a more general zero-knowledge proof program called the ZK ElGamal Proof program that is applic...
Relax Precompile Failure Constraint
The Solana protocol currently prohibits block producers from including transactions with precompile instructions that fail signature verification. This constraint is not ideal since block producers ma...
Skip Rent Rewrites
Do not rewrite accounts that are unchanged by rent collection.
Relax Transaction Loading Constraints
This proposal aims to relax certain transaction errors related to loading transaction accounts, from protocol violations to runtime errors. Specifically, if a transaction fails to load a valid program...
Syscall for remaining compute units
Add a new syscall to access the number of compute units that are left to use in a transaction.
Reward full priority fee to validator
Reward 100% of priority fee to validator.
MoveStake and MoveLamports Instructions
We propose introducing two new instructions to the stake program for moving value between stake accounts with identical Authorized and Lockup:
Optimistic cluster restart automation
During a cluster restart following an outage, make validators enter a separate recovery protocol that uses Gossip to exchange local status and automatically reach consensus on the block to restart fr...
SIMD Access Policy
3 levels of access, in the order of increasing access:
Partitioned Epoch Rewards Distribution
A new way to distribute epoch rewards across multiple blocks is proposed to address the current performance problems associated with epoch reward distribution in a first block of a new epoch.
Transaction Receipts
Here we propose a mechanism for proving transaction inclusion into a block in the Solana protocol. This is a pre-requisite for several use-cases that would like to build upon a Simple Payment Verifica...
Additional Fee-Collector Constraints
Every validator defines a node id which is also used as the validator's fee-collector account for collecting earned protocol fees. After implementing this proposal, validator implementations will burn...
Disable Bpf loader V2 program deployment
Disable BPF Loader V2 for program deployment.
Alt_BN128 Syscalls - Simplified Error Code
Simplify the return error code for the family of Alt_BN128 syscalls: sol_alt_bn128_group_op, sol_alt_bn128_compression and sol_poseidon.
Native Program for verifying secp256r1 sig.
Adding a Native Program to support the verification of signatures generated on the secp256r1 curve. Analogous to the support for secp256k1 and ed25519 signatures that already exists in form of the Kec...
