Skip to main content

Module backend

Module backend 

Source
Expand description

Execution backends.

A backend turns a Scenario into raw logs. v1 ships a fully-working RecordedLogsBackend (deterministic, used for tests, fixtures and the inspect command) and skeleton live backends whose interfaces are defined but which return crate::Error::BackendUnimplemented until wired to solana-program-test / BanksClient.

Structs§

BanksClientBackend
Backend that drives a BanksClient.
ProgramTestBackend
Backend that runs scenarios in-process via solana-program-test.
RecordedLogsBackend
A backend that returns pre-recorded logs keyed by scenario name.
SimulationOutput
The raw result of executing a scenario.

Traits§

ExecutionBackend
Anything that can execute a scenario and return logs.