Crate test_tube_prov

Source
Expand description

§test-tube

test-tube on crates.io Docs

provwasm-test-tube is a generic library for building testing environments for ProvWasm smart contracts. It allows you to test your smart contract logic against the actual Provenance/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 network.

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§

account
bindings
module
runner
utils

Macros§

fn_execute
fn_query
redefine_as_go_string
This is needed to be implemented as macro since conversion from &CString to GoString requires CString to not get dropped before referecing its pointer