Unverified Commit 41631525 authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

pallet-xcm: ensure xcm outcome is always complete, revert effects otherwise (#2405)



On extrinsics/call, ensure local XCM execution is complete/successful.
Otherwise, fail the extrinsic so that state changes don't get committed
to the db.

Added regression tests that fail without the fix.

fixes #2237

---------

Co-authored-by: default avatarAdrian Catangiu <[email protected]>
parent a00a7676
Pipeline #417742 failed with stages
in 52 minutes and 37 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment