adjust XCM unit weights to 1B (#735)

This commit is contained in:
Alexander Popiak
2021-11-09 17:14:16 +01:00
committed by GitHub
parent c16db9c66f
commit 05fd790612
4 changed files with 8 additions and 7 deletions
@@ -510,7 +510,8 @@ pub type XcmOriginToTransactDispatchOrigin = (
);
parameter_types! {
pub UnitWeightCost: Weight = 1_000;
// One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
pub UnitWeightCost: Weight = 1_000_000_000;
pub const MaxInstructions: u32 = 100;
}