This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Polkadot's XCM config should use WeightInfoBound
weigher
#6785
Labels
T6-XCM
This PR/Issue is related to XCM.
Currently, the Polkadot XCM config uses
FixedWeightBounds
as the weigher:polkadot/runtime/polkadot/src/xcm_config.rs
Line 320 in d56dcfa
I don't think there is a good reason for this other than oversight, especially when Kusama, Rococo and Westend all have
WeightInfoBounds
as their weigher.We should thus change the Polkadot XCM config to use
WeightInfoBounds
. Doing so requires benchmarking XCM instructions on the Polkadot runtime to get benchmark-weighted values for each instruction's weight.File:
runtime/polkadot/src/xcm_config.rs
The text was updated successfully, but these errors were encountered: