osmosis-std struct requires implementing Serialize & Deserialize but tendermint_proto's structs do not implement them, so whenever there is a struct that depends on tendermint_proto, it will cause compile errors
it maps tendermint related struct to tendermint_proto by this line
This hack is used to skip struct that depends on tendermint_proto to suppress compiles error.
So that maybe not all of them can be replaced at the moment, only case by case, unless the blocker is resolved.
Reason being,
cosmrs
types don't derive serde and osmosis-std now have ability to generate types from cosmos module.potential blocker: https://github.com/osmosis-labs/osmosis-rust/issues/52
So that maybe not all of them can be replaced at the moment, only case by case, unless the blocker is resolved.