Skip to content
Unverified Commit a072ce81 authored by Adrian Catangiu's avatar Adrian Catangiu Committed by GitHub
Browse files

asset-hubs: simplify xcm-config (#6222)



`ForeignCreatorsSovereignAccountOf` is used by `ForeignCreators` filter
to convert location to `AccountId`, _after_ `ForeignCreators::IsForeign`
filter passes for an (asset, location) pair.

The `IsForeign` filter is the actual differentiator, so if a location
passes it, we should support converting it to an `AccountId`.

As such, this commit replaces `ForeignCreatorsSovereignAccountOf`
converter with the more general `LocationToAccountId` converter.

Signed-off-by: default avatarAdrian Catangiu <[email protected]>
parent efd66030
Pipeline #502956 waiting for manual action with stages
in 31 minutes and 2 seconds