Skip to content

asset-hubs: transfer assets via bridge using pallet-xcm#1224

Closed
acatangiu wants to merge 1 commit into
masterfrom
bko-transfer-asset-via-bridge-pallet-xcm
Closed

asset-hubs: transfer assets via bridge using pallet-xcm#1224
acatangiu wants to merge 1 commit into
masterfrom
bko-transfer-asset-via-bridge-pallet-xcm

Conversation

@acatangiu

@acatangiu acatangiu commented Aug 28, 2023

Copy link
Copy Markdown
Contributor

This is a migration (without commit history) of @bkontur's original PR in cumulus.

Add xcm routing configuration for bridging between
Polkadot Asset Hub <-> Kusama Asset Hub.

We explicitly allow only reserve based transfer for KSM/DOT to cross-consensus AssetHubs and nothing else at first (start defensively). We can later allow whatever (ETH, TrustBackedAssets, ForeignAssets, PoolAssets ...).

Add tests for simulation:

  • limited_reserve_transfer_assets with pallet_xcm both ways
  • handling ReserveAssetDeposisted on both sides

Add local zombienet run for:

  • reserve based transfer of KSMs from AHK to AHP
  • reserve based transfer of DOTs from AHP to AHK (check parachains/runtimes/bridge-hubs/README.md in this PR)

For transfers to actually work across the bridge, Bridge hub kusama/polkadot runtime upgrade with bridging #2528 is also required.

@paritytech-ci
paritytech-ci requested review from a team August 28, 2023 15:56
@acatangiu
acatangiu force-pushed the bko-transfer-asset-via-bridge-pallet-xcm branch 2 times, most recently from 011c308 to 10ffb9f Compare August 30, 2023 13:21
Add xcm routing configuration for bridging between
	Polkadot Asset Hub <-> Kusama Asset Hub.

We explicitly allow only reserve based transfer for KSM/DOT to
cross-consensus AssetHubs and nothing else at first (start defensively).
We can later allow whatever (ETH, TrustBackedAssets, ForeignAssets,
PoolAssets ...).

Add tests for simulation:
- `limited_reserve_transfer_assets` with `pallet_xcm` both ways
- handling `ReserveAssetDeposisted` on both sides

Add local zomienet run for:
- reserve based transfer of KSMs from AHK to AHP
- reserve based transfer of DOTs from AHP to AHK
(check parachains/runtimes/bridge-hubs/README.md in this PR)

Signed-off-by: Branislav Kontur <bkontur@gmail.com>
Signed-off-by: Adrian Catangiu <adrian@parity.io>
@acatangiu
acatangiu force-pushed the bko-transfer-asset-via-bridge-pallet-xcm branch from 10ffb9f to 8c04fd0 Compare August 30, 2023 13:22
@acatangiu acatangiu added T14-system_parachains This PR/Issue is related to system parachains. T15-bridges This PR/Issue is related to bridges. labels Aug 30, 2023
@acatangiu

Copy link
Copy Markdown
Contributor Author

closing in favor of #1352

@acatangiu acatangiu closed this Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T14-system_parachains This PR/Issue is related to system parachains. T15-bridges This PR/Issue is related to bridges.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants