Skip to content
Unverified Commit feee773d authored by Francisco Aguirre's avatar Francisco Aguirre Committed by GitHub
Browse files

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: default avatarPG Herveou <[email protected]>
Co-authored-by: command-bot <>
Co-authored-by: default avatarAdrian Catangiu <[email protected]>
parent 66051adb
Pipeline #459595 failed with stages
in 35 minutes and 32 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