Crate solana_program_test

Crate solana_program_test 

Source
👎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§

processorDeprecated
Converts a solana-program-style entrypoint into the runtime’s entrypoint style, for use with ProgramTest::add_program

Structs§

BanksClient
BanksTransactionResultWithMetadata
EbpfVm
A virtual machine to run eBPF programs.
InvokeContext
Main pipeline from runtime to program execution.
ProgramTestDeprecated
ProgramTestContextDeprecated

Enums§

BanksClientError
Errors from BanksClient
EbpfError
Error definitions
ProgramTestErrorDeprecated
Errors from the program test environment

Traits§

ProgramTestBanksClientExtDeprecated

Functions§

find_fileDeprecated
get_runtime_environment_key
Returns (and if not done before generates) the encryption key for the VM pointer
invoke_builtin_functionDeprecated
read_fileDeprecated

Type Aliases§

IndexOfAccount
Index of an account inside of the transaction or an instruction.