[stable2412] Backport #9195#9403
Conversation
|
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin backport-9195-to-stable2412
git worktree add --checkout .worktree/backport-9195-to-stable2412 backport-9195-to-stable2412
cd .worktree/backport-9195-to-stable2412
git reset --hard HEAD^
git cherry-pick -x d9f451a6b94ab2cf39371ee5192130379eb6e199
git push --force-with-lease |
|
This pull request is amending an existing release. Please proceed with extreme caution,
Emergency Bypass
If you really need to bypass this check: add |
Relates to: #9093 Requires: #9179 This PR introduces emulated test scenarios: (Penpal -> AH -> Penpal) to showcase usage of remote `Transact` to swap assets remotely on AssetHub while also making use of `add_authorized_alias`, to transact as Sender on remote side (instead of Senders sovereign account). 1. Prepare sovereign accounts funds, create pools, prepare aliasing rules 2. Send WND from Penpal to AssetHub (AH being remote reserve for WND) 3. Alias into sender account and exchange WNDs for USDT using `Transact` with `swap_tokens_for_exact_tokens` call inside 4. Send USDT and leftover WND back to Penpal (Penpal -> AH -> Penpal) to showcase usage of remote `Transact` to swap assets remotely on AssetHub. 1. Prepare sovereign accounts funds, create pools, prepare aliasing rules 2. Send WND from Penpal to AssetHub (AH being remote reserve for WND) 3. Exchange WNDs for USDT using `Transact` with `swap_tokens_for_exact_tokens` call inside 4. Send USDT and leftover WND back to Penpal (Penpal -> AH -> Penpal) to showcase same as above but this time using `ExchangeAsset` XCM instruction instead of `Transact`: 1. Prepare sovereign accounts funds, create pools 2. Send WND from Penpal to AssetHub (AH being remote reserve for WND) 3. Exchange WNDs for USDT using `ExchangeAsset` 4. Send USDT and leftover WND back to Penpal --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Adrian Catangiu <adrian@parity.io> (cherry picked from commit d9f451a)
9bc76e3 to
2250db8
Compare
|
Differences to the original PR because of differences between
|
|
since this is just there is also no strong reason to backport so up to you |
I think that as long as we support this branch, we should also aim to have better test coverage so I think we can merge But on this branch tests condition is bad, there are other unrelated tests failing: I have fixed |
Backport #9195 into
stable2412from karolk91.See the documentation on how to use this bot.