pallet-xcm: Deprecate `execute` and `send` in favor of `execute_blob` and `send_blob` (#3749)
`execute` and `send` try to decode the xcm in the parameters before reaching the filter line. The new extrinsics decode only after the filter line. These should be used instead of the old ones. ## TODO - [x] Tests - [x] Generate weights - [x] Deprecation issue -> https://github.com/paritytech/polkadot-sdk/issues/3771 - [x] PRDoc - [x] Handle error in pallet-contracts This would make writing XCMs in PJS Apps more difficult, but here's the fix for that: https://github.com/polkadot-js/apps/pull/10350. Already deployed! https://polkadot.js.org/apps/#/utilities/xcm Supersedes https://github.com/paritytech/polkadot-sdk/pull/1798/ --------- Co-authored-by:PG Herveou <pgherveou@gmail.com> Co-authored-by: command-bot <> Co-authored-by:
Adrian Catangiu <adrian@parity.io>
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- cumulus/parachains/integration-tests/emulated/chains/relays/westend/Cargo.toml 0 additions, 1 deletion...tegration-tests/emulated/chains/relays/westend/Cargo.toml
- cumulus/parachains/integration-tests/emulated/common/src/impls.rs 3 additions, 3 deletions...parachains/integration-tests/emulated/common/src/impls.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-rococo/src/tests/send.rs 4 additions, 4 deletions.../emulated/tests/assets/asset-hub-rococo/src/tests/send.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-rococo/src/tests/swap.rs 2 additions, 2 deletions.../emulated/tests/assets/asset-hub-rococo/src/tests/swap.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/src/tests/send.rs 4 additions, 4 deletions...emulated/tests/assets/asset-hub-westend/src/tests/send.rs
- cumulus/parachains/integration-tests/emulated/tests/assets/asset-hub-westend/src/tests/swap.rs 2 additions, 2 deletions...emulated/tests/assets/asset-hub-westend/src/tests/swap.rs
- cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/src/tests/send_xcm.rs 4 additions, 3 deletions...ted/tests/bridges/bridge-hub-rococo/src/tests/send_xcm.rs
- cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-rococo/src/tests/snowbridge.rs 9 additions, 9 deletions...d/tests/bridges/bridge-hub-rococo/src/tests/snowbridge.rs
- cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/Cargo.toml 1 addition, 0 deletions...ests/emulated/tests/bridges/bridge-hub-westend/Cargo.toml
- cumulus/parachains/integration-tests/emulated/tests/bridges/bridge-hub-westend/src/tests/send_xcm.rs 4 additions, 3 deletions...ed/tests/bridges/bridge-hub-westend/src/tests/send_xcm.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights/pallet_xcm.rs 72 additions, 40 deletions...untimes/assets/asset-hub-rococo/src/weights/pallet_xcm.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/pallet_xcm.rs 72 additions, 42 deletions...ntimes/assets/asset-hub-westend/src/weights/pallet_xcm.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/pallet_xcm.rs 70 additions, 38 deletions...s/bridge-hubs/bridge-hub-rococo/src/weights/pallet_xcm.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/weights/pallet_xcm.rs 70 additions, 38 deletions.../bridge-hubs/bridge-hub-westend/src/weights/pallet_xcm.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/pallet_xcm.rs 69 additions, 37 deletions...collectives/collectives-westend/src/weights/pallet_xcm.rs
- cumulus/parachains/runtimes/coretime/coretime-rococo/src/weights/pallet_xcm.rs 66 additions, 36 deletions...ntimes/coretime/coretime-rococo/src/weights/pallet_xcm.rs
- cumulus/parachains/runtimes/coretime/coretime-westend/src/weights/pallet_xcm.rs 66 additions, 36 deletions...times/coretime/coretime-westend/src/weights/pallet_xcm.rs
- cumulus/parachains/runtimes/people/people-rococo/src/weights/pallet_xcm.rs 66 additions, 36 deletions...s/runtimes/people/people-rococo/src/weights/pallet_xcm.rs
- cumulus/parachains/runtimes/people/people-westend/src/weights/pallet_xcm.rs 66 additions, 36 deletions.../runtimes/people/people-westend/src/weights/pallet_xcm.rs