Expand description
Test multiple contract interactions using unit tests.
Feature flag: ensemble
Re-exports§
pub use anyhow;
Structs§
- Bank
Response - Block
- Contract
Ensemble - This the main type in the system that takes care of registering and executing contracts, keeping the blockchain simulation state and allowing the manipulation of particular parameters such as account funds, blocks or contract state in order to efficiently simulate testing scenarios.
- Distribution
Response - Ensemble
Querier - Execute
Response - Instantiate
Response - Iter
- Iterator that iterates over all responses returned by the various modules in order of execution.
- MockEnv
- Reply
Response - Staking
Response
Enums§
Traits§
- Contract
Harness - The trait that allows the ensemble to execute your contract. Must be implemented
for each contract that will participate in the shared execution. Usually implemented
by calling the respective contract function for each method of the trait by passing
down the parameters of the method and calling
cosmwasm_std::from_binary()
on themsg
parameter. It can also be used to implement a mock contract directly.