hyperlane-xyz / hyperlane-warp-ui-template

A web app template for building Hyperlane Warp Route UIs
https://hyperlane-warp-template.vercel.app
Other
93 stars 82 forks source link

"Self" address should not fall back to using the `cosmos` prefix #84

Closed tkporter closed 8 months ago

tkporter commented 8 months ago

There can sometimes be an issue e.g. getting the Neutron address, which then results in the Cosmos-prefixed address being used instead. This could happen because:

Some suggestions:

jmrossy commented 8 months ago

I am not confident that swapping out the bech32 prefix is sufficient. There may be utilities to correctly convert it but given the noise that incorrect addresses have made already, it seems safer to just error.