zeitgeist
zeitgeist copied to clipboard
Configure and test whitelisted XCM reserve transfers
This PR adjusts the XCM configuration to only allow the necessary XCM instruction necessary to execute a reserve transfer. It also configures (Karura, Moonbeam, Kusama, Statemint) as the only allowed origin and (aUSD, MOVR, KSM, USDT) as the only allowed assets to be transferred. It also specifies how fees are handled and how weights map to fees.
This PR adds the orml-xtokens
pallet, that abstracts XCM asset transfers and updates the respective asset balances in the responsible pallet.
The PR adds integration tests that simulate a relay chain and multiple parachains to verify that only the XCM instructions of interest can be executed and that only the whitelisted chains and assets can be transferred.