Crate test_tube_x
source ·Expand description
Test Tube X
test-tube
is a generic library by Osmosis for building testing environments for CosmWasm smart contracts. It allows you to test your smart contract logic against the actual Cosmos SDK chain’s logic, which is written in Go, using Rust. This eliminates the need to write Go code or learn Go in order to test your smart contracts against the Cosmos SDK.
test-tube-x
is a fork of test-tube by Persistence made using newer versions of Cosmos SDK (v47). It can be used by anyone to create a testing environments by anyone using the following defaults:
- Cosmos SDK v47
- Persistence SDK v2
- Cosmwasm v1.4
test-tube-x
is currently used to build persistence-test-tube
.
Re-exports
pub use account::Account;
pub use account::FeeSetting;
pub use account::NonSigningAccount;
pub use account::SigningAccount;
pub use runner::app::BaseApp;
pub use runner::error::DecodeError;
pub use runner::error::EncodeError;
pub use runner::error::RunnerError;
pub use runner::result::ExecuteResponse;
pub use runner::result::RunnerExecuteResult;
pub use runner::result::RunnerResult;
pub use runner::Runner;
pub use cosmrs;
pub use module::*;
Modules
Macros
- This is needed to be implemented as macro since conversion from &CString to GoString requires CString to not get dropped before referecing its pointer