clone-cw-multi-test 0.6.5

Testing tools for multi-contract interactions. Helps simulating chain behavior with on-chain storage locally
Documentation
#![cfg(test)]

use cw_storage_plus::Item;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

pub mod caller;
pub mod echo;
pub mod error;
pub mod hackatom;
pub mod payout;
pub mod reflect;
pub mod stargate;

/// Custom message for testing purposes.
#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema, PartialEq, Eq)]
#[serde(rename = "snake_case")]
pub enum CustomMsg {
    SetName { name: String },
    SetAge { age: u32 },
}

/// Persisted counter for testing purposes.
pub const COUNT: Item<u32> = Item::new("count");