cw-it 0.4.0

A crate of utils for integration testing CosmWasm smart contracts
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Debug, Error)]
pub enum CwItError {
    #[error("{0}")]
    ArtifactError(#[from] crate::artifact::ArtifactError),
    #[error("{0}")]
    RunnerError(#[from] test_tube::RunnerError),
    #[error("{0}")]
    RpcError(#[from] cosmrs::rpc::error::Error),
    #[error("{0}")]
    AnyhowError(#[from] anyhow::Error),
}