Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

acatangiu
Copy link
Contributor

@acatangiu acatangiu commented Aug 28, 2023

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 <[email protected]>
Signed-off-by: Adrian Catangiu <[email protected]>
@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
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