Ics20Reader::get_channel_escrow_address()
default impl is inconsistent with Ics20Reader::AccountId
#37
Labels
A: bug
Admin: something isn't working
Summary of Bug
The provided implementation of the
Ics20Reader::get_channel_escrow_address()
trait method assumes that theIcs20Reader::AccountId
type is not encoded (which is unlikely in practise).The problem is that most host implementations (including the Cosmos SDK) would use a bech32 encoded
AccountId
whereas theAccountId
returned byget_channel_escrow_address()
(and the underlyingcosmos_adr028_escrow_address()
function that it uses) isn't bech32 encoded.Version
v0.16.0
Acceptance Criteria
Ics20Reader::get_channel_escrow_address()
returns a bech32 encoded address orcosmos_adr028_escrow_address()
is made public.For Admin Use
The text was updated successfully, but these errors were encountered: