Crates.io | spl-instruction-padding |
lib.rs | spl-instruction-padding |
version | 0.3.0 |
source | src |
created_at | 2022-09-21 12:17:20.734519 |
updated_at | 2024-11-01 11:56:53.147354 |
description | Solana Program Library Instruction Padding Program |
homepage | https://solana.com/ |
repository | https://github.com/solana-labs/solana-program-library |
max_upload_size | |
id | 670928 |
size | 14,749 |
A program for padding instructions with additional data or accounts, to be used for testing larger transactions, either more instruction data, or more accounts.
The main use-case is with solana-bench-tps, where we can see the impact of larger transactions through TPS numbers. With that data, we can develop a fair fee model for large transactions.
It operates with two instructions: no-op and wrap.
Both of these modes add the general overhead of calling a BPF program, and the wrap mode adds the CPI overhead.
Because of the overhead, it's best to use the instruction padding program with all large transaction tests, and comparing TPS numbers between:
The repository README contains information about program audits.