👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Expand description
The solana-program-test provides a BanksClient-based test framework SBF programs
Re-exports§
pub use tokio;
Macros§
- processor
Deprecated - 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 Deprecated - Program
Test Context Deprecated
Enums§
- Banks
Client Error - Errors from BanksClient
- Ebpf
Error - Error definitions
- Program
Test Error Deprecated - Errors from the program test environment
Traits§
- Program
Test Banks Client Ext Deprecated
Functions§
- find_
file Deprecated - get_
runtime_ environment_ key - Returns (and if not done before generates) the encryption key for the VM pointer
- invoke_
builtin_ function Deprecated - read_
file Deprecated
Type Aliases§
- Index
OfAccount - Index of an account inside of the transaction or an instruction.