We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48737b1 commit 0431b5cCopy full SHA for 0431b5c
precompiles/xcm/src/tests.rs
@@ -201,6 +201,12 @@ mod xcm_old_interface_test {
201
)
202
.expect_no_logs()
203
.execute_returns(true);
204
+
205
+ let binding = take_sent_xcm();
206
+ let (_location, Xcm(instructions)) = binding.get(0).expect("XCM should be sent");
207
208
+ // Ensure that origin is immediately descended to eliminate sovereign parachain origin.
209
+ assert!(matches!(instructions.as_slice(), [DescendOrigin(..), ..]));
210
});
211
}
212
0 commit comments