ibc-rs
ibc-rs copied to clipboard
Improve error handling when decoding `Any` to `MsgEnvelope`
Problem Statement
Currently, when converting an incoming IBC message of Any type to a MsgEnvelope, we are mapping decoding errors to a variant of RouterError (e.g. here), leading to confusion. Thus, this issue should aim to:
- Fix incorrect mapping
- Utilize more efficient manner to capture the source error
We came across this issue in https://github.com/cosmos/ibc-rs/pull/949 and it is currently blocked on #270. We can address this after refactoring our error handling system.