cosmos / ibc-rs

Rust implementation of the Inter-Blockchain Communication (IBC) protocol.
Apache License 2.0
197 stars 79 forks source link

bug(ics20): `PrefixedDenom` is parsed with invalid `ChannelId` #1177

Closed rnbguy closed 5 months ago

rnbguy commented 5 months ago

Bug Summary

Parsing transfer/channel-75/factory/stars16da2uus9zrsy83h23ur42v3lglg5rmyrpqnju4/dust to PrefixedDenom results in

Details

The parsed data should have:

Following ibc-go, we should validate the ChannelIds.

Version

v0.51.0

Reference

Fabien Penso reported this.