Closed iboss-ptk closed 11 months ago
Having the IBC messages implemented here would be very useful to avoid writing stuff like https://github.com/osmosis-labs/osmosis/blob/1e60bfacac94ac8e52392f8fa3e8ce01d1ef24a7/x/ibc-hooks/contracts/crosschain-swaps/src/ibc.rs
Why
Allowing cosmos-sdk queries through stargate msg so that more queries are available than what wasm bindings propvided.
Problem
osmosis-std
struct requires implementingSerialize
&Deserialize
buttendermint_proto
's structs do not implement them, so whenever there is a struct that depends ontendermint_proto
, it will cause compile errorstendermint_proto
by this linetendermint_proto
to suppress compiles error.Notes
cosmos
types gets generated due to include path for osmosis types [1][2]Proposed solution
Generates types in this following order:
tendermint_proto
mapping