Crate provwasm_mocks

source ·

Structs

A mock for testing provenance account attribute queries.
A mock for testing provenance marker module queries.
A mock for testing provenance metadata module queries.
A mock for testing provenance name module queries.

Functions

A drop-in replacement for cosmwasm_std::testing::mock_dependencies that uses the mock provenance querier.
Initializes the mock querier with the account balances provided. NOTE: contract balance must be set in the balances slice passed if required.
A helper function for mock testing. This function allows tests to read a file in CosmWasm binary format. This function will panic on any error. Because of this, it should only be used in tests.