pub fn mock_env() -> Env {
    Env {
        block: BlockInfo {
            height: 12_345,
            time: Timestamp::from_nanos(1_571_797_419_879_305_533),
            chain_id: "cosmos-testnet-14002".to_string(),
        },
        contract: ContractInfo {
            address: Addr::unchecked(MOCK_CONTRACT_ADDR),
        },
    }
}
/// Returns a default enviroment with height, time, chain_id, and contract address
/// You can submit as is to most contracts, or modify height/time if you want to
/// test for expiration.
///
/// This is intended for use in test code only.
Returns a default enviroment with height, time, chain_id, and contract address
You can submit as is to most contracts, or modify height/time if you want to
test for expiration.

This is intended for use in test code only.
Returns a default enviroment with height time chain_id and contract address You can submit as is to most contracts or modify height / time if you want to test for expiration . This is intended for use in test code only .
pub fn mock_env() -> Env {
    Env {
        block: BlockInfo {
            height: 12_345,
            time: Timestamp::from_nanos(1_571_797_419_879_305_533),
            chain_id: "cosmos-testnet-14002".to_string(),
        },
        contract: ContractInfo {
            address: Addr::unchecked(MOCK_CONTRACT_ADDR),
        },
    }
}
pub fn mock_env ( ) -> Env { Env { block : BlockInfo { height : 12_345 , time : Timestamp :: from_nanos ( 1_571_797_419_879_305_533 ) , chain_id : " " . to_string ( ) , } , contract : ContractInfo { address : Addr :: unchecked ( MOCK_CONTRACT_ADDR ) , } , } }
Returns a default enviroment with height, time, chain_id, and contract address
You can submit as is to most contracts, or modify height/time if you want to
test for expiration.
Returns a default enviroment with height time chain_id and contract address You can submit as is to most contracts or modify height / time if you want to test for expiration .