Expand description
The solana-program-test provides a BanksClient-based test framework SBF programs
Re-exports§
pub use tokio;
Modules§
Macros§
- processor
- Converts a
solana-program
-style entrypoint into the runtime’s entrypoint style, for use withProgramTest::add_program
Structs§
- Banks
Client - Banks
Transaction Result With Metadata - EbpfVm
- A virtual machine to run eBPF programs.
- Invoke
Context - Main pipeline from runtime to program execution.
- Program
Test - Program
Test Context
Enums§
- Banks
Client Error - Errors from BanksClient
- Ebpf
Error - Error definitions
- Program
Test Error - Errors from the program test environment
Traits§
Functions§
- find_
file - get_
runtime_ environment_ key - Returns (and if not done before generates) the encryption key for the VM pointer
- invoke_
builtin_ function - read_
file
Type Aliases§
- Index
OfAccount - Index of an account inside of the TransactionContext or an InstructionContext.