This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
LocationToAccountId
reverse AccountId to Location can't distinguish
#4296
Labels
T6-XCM
This PR/Issue is related to XCM.
current there're
AccountId32Aliases
insideLocationToAccountId
, we add anotherRelayChainAccountId32Aliases
type in orml PR.both of those two struct type can reverse
AccountId
toMultiLocation
, thus only the first one will take effect. for example: if we configure with order(AccountId32Aliases, RelayChainAccountId32Aliases)
, thenreverse AccountId
onLocationToAccountId
resulting(0, AccountId32)
. there'er no chance to get into(1, AccountId32)
only if we configured with order(RelayChainAccountId32Aliases, AccountId32Aliases)
, but at the same time, the latter configure also cause no chance to get into(0, AccountId32)
.Also I've checked polkadot codebase, seems there're no usercase invoking
reverse()
method onLocationToAccountId
, Am I right?The text was updated successfully, but these errors were encountered: