CosmWasm / cw-multi-test

CosmWasm multi-contract testing framework
Apache License 2.0
48 stars 42 forks source link

Add tests for `MockApi` in `App` #81

Closed DariuszDepta closed 1 year ago

DariuszDepta commented 1 year ago

Added unit tests for cosmwasm_std::testing::MockApi used by default in App. In future versions of cosmwasm-std, the behavior of cosmwasm_std::testing::MockApi will be changed, so these tests should then guard these changes. For planned changes in cosmwasm_std::testing::MockApi see:

Added integration test for AppBuilder::with_api function that takes as an argument a custom implementation of Api trait. This example test shows how to apply custom address encodings to Api interface.