Crate light_test_utils

Source

Modules§

address_tree_rollover
assert_address_merkle_tree
assert_compressed_tx
assert_epoch
assert_merkle_tree
assert_queue
assert_rollover
assert_token_tx
e2e_test_env
env_accounts
indexer
rpc
spl
state_tree_rollover
system_program
test_env
test_forester

Structs§

AccountZeroCopy
AddressMerkleTreeAccounts
AddressMerkleTreeBundle
Epoch
FeeConfig
SolanaRpcConnection
TokenDataWithContext
TransactionParams
TreeAccounts

Enums§

RpcError
SolanaRpcUrl
TreeType

Traits§

Indexer
RpcConnection

Functions§

airdrop_lamports
assert_custom_error_or_program_error
Asserts that the given BanksTransactionResultWithMetadata is an error with a custom error code or a program error. Unfortunately BanksTransactionResultWithMetadata does not reliably expose the custom error code, so we allow program error as well.
assert_rpc_error
create_account_instruction
create_rollover_address_merkle_tree_instructions
create_rollover_state_merkle_tree_instructions
get_concurrent_merkle_tree
Fetches the fiven account, then copies and serializes it as a ConcurrentMerkleTree.
get_hash_set
Fetches the given account, then copies and serializes it as a HashSet.
get_indexed_merkle_tree
Fetches the fiven account, then copies and serializes it as an IndexedMerkleTree.
register_test_forester
Creates and asserts forester account creation.
update_test_forester