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

Add more emulated bridge tests #512

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

acatangiu
Copy link
Contributor

@acatangiu acatangiu commented Dec 17, 2024

Added emulated tests moving KSM and DOT from their respective Relay chains over the P<>K bridge to the other side's Asset Hub.

  • Does not require a CHANGELOG entry

Copy link
Contributor

@muharem muharem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

complex case, but easy to ready. nice test

// use DOT as fees on the final destination (KAH), only use half the amount as some
// of it was already spent on intermediate hop (PAH)
let remote_fees: Asset = (bridged_dot_at_ah_kusama.clone(), amount / 2).into();
// buy execution using KSMs, then deposit all unspent KSMs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using DOTs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants