Statemint Reserve Asset Transfer (#552)

* add AssetId type alias in statemint-common

* add FungiblesAdapter to allow for asset transactions via XCM

* use custom Polkadot

* fix FungiblesAdapter usage and add CheckingAccount

* update deps

* remove polkadot overrides

* update deps

* pull NonZeroIssuance struct into common + add FungiblesTransactor to Statemine and Westmint

* remove unnecessary tuple wrapping + adjust asset transactor comments

* accept statemint as reserve in rococo test parachain

* adjust parachain config (add Statemint as reserve)

* add test and docs for AssetsFrom

* cargo fmt

Co-authored-by: Ricardo Rius <ricardo@parity.io>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Alexander Popiak
2021-10-05 11:35:03 +02:00
committed by GitHub
parent edd029b3d4
commit caa8b8172b
9 changed files with 237 additions and 51 deletions
@@ -28,6 +28,8 @@ node-primitives = { git = 'https://github.com/paritytech/substrate', branch = "m
# Polkadot dependencies
polkadot-runtime-common = { git = 'https://github.com/paritytech/polkadot', branch = "master", default-features = false }
polkadot-primitives = { git = 'https://github.com/paritytech/polkadot', branch = "master", default-features = false }
xcm = { git = 'https://github.com/paritytech/polkadot', branch = "master", default-features = false }
xcm-executor = { git = 'https://github.com/paritytech/polkadot', branch = "master", default-features = false }
# Local dependencies
pallet-collator-selection = { path = '../../pallets/collator-selection', default-features = false }