Crates.io | solarti-instruction-padding |
lib.rs | solarti-instruction-padding |
version | 0.1.9 |
source | src |
created_at | 2023-04-28 13:55:57.540877 |
updated_at | 2024-11-07 23:20:14.642707 |
description | Solarti Program Library Instruction Padding Program |
homepage | https://miraland.io/ |
repository | https://github.com/miraland-labs/solarti-program-library |
max_upload_size | |
id | 851395 |
size | 13,647 |
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 miraland-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.