Closed acatangiu closed 3 days ago
Created backport PR for stable2407
:
Please cherry-pick the changes locally and resolve any conflicts.
git fetch origin backport-5660-to-stable2407
git worktree add --checkout .worktree/backport-5660-to-stable2407 backport-5660-to-stable2407
cd .worktree/backport-5660-to-stable2407
git reset --hard HEAD^
git cherry-pick -x b5ac7a9d59298eddcd0b6e9470afed7cc9e403d4
git push --force-with-lease
Successfully created backport PR for stable2409
:
This change adds the required validation for stronger UX guarantees when using
InitiateReserveWithdraw
orInitiateTeleport
XCM instructions. Execution of the instructions will fail if the local chain is not configured to trust the "destination" or "reserve" chain as a reserve/trusted-teleporter for the provided "assets".With this change, misuse of
InitiateReserveWithdraw
/InitiateTeleport
fails on origin with no overall side-effects, rather than failing on destination (with side-effects to origin's assets issuance).The commit also makes the same validations for pallet-xcm transfers, and adds regression tests.