Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 862 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 862 Bytes

CosmWasm IBC Queries

Implements generic IBC queries in CosmWasm. This implementation requires the same contract to be deployed on both chains wishing to query each other.

This contract is inspired by Confio's cw-ibc-demo, and from work done during HackAtom 2022.

Unit Tests

All unit tests are in Rust and assume a mocked out environment. They don't actually send packets between contracts in any way, but return a fully mocked response. This can run through many code paths and get a reasonable level of confidence in the basic logic. However, you will need to run through full-stack integration tests to actually have any confidence it will work as expected in production.

To ensure they are proper, run the following in the repo root:

cargo test

Integration Tests

See the tests directory.