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.
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
See the tests
directory.