pallet-xcm: fix weights for all XTs and deprecate unlimited weight ones (#3927)

Fix "double-weights" for extrinsics, use only the ones benchmarked in
the runtime.

Deprecate extrinsics that don't specify WeightLimit, remove their usage
across the repo.

---------

Signed-off-by: Adrian Catangiu <adrian@parity.io>
Co-authored-by: command-bot <>
This commit is contained in:
Adrian Catangiuandcommand-bot authored and GitHub committed 2024-04-02 07:57:35 +00:00
1 parent 9a62de27a9
commit d0ebb850ed
10 files changed
+103 -512

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
title: "pallet-xcm: deprecate transfer extrinsics without weight limit"
doc:
- audience: Runtime Dev
description: |
pallet-xcm's extrinsics `teleport_assets` and `reserve_transfer_assets` have been
marked as deprecated. Please change their usage to the `limited_teleport_assets`
and `limited_reserve_transfer_assets`, respectively; or use the generic/flexible
`transfer_assets` extrinsic.
crates:
- name: pallet-xcm
bump: minor