You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
current there're AccountId32Aliases inside LocationToAccountId, we add another RelayChainAccountId32Aliases type in orml PR.
both of those two struct type can reverse AccountId to MultiLocation, thus only the first one will take effect. for example: if we configure with order (AccountId32Aliases, RelayChainAccountId32Aliases), then reverse AccountId on LocationToAccountId 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 on LocationToAccountId, Am I right?
current there're
AccountId32AliasesinsideLocationToAccountId, we add anotherRelayChainAccountId32Aliasestype in orml PR.both of those two struct type can reverse
AccountIdtoMultiLocation, thus only the first one will take effect. for example: if we configure with order(AccountId32Aliases, RelayChainAccountId32Aliases), thenreverse AccountIdonLocationToAccountIdresulting(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?