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 66310bd6ce
commit 8301e17f88
4 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -352,8 +352,8 @@ pub type XcmOriginToTransactDispatchOrigin = (
);
parameter_types! {
// One XCM operation is 1_000_000 weight - almost certainly a conservative estimate.
pub UnitWeightCost: Weight = 1_000_000;
// One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
pub UnitWeightCost: Weight = 1_000_000_000;
// One ROC buys 1 second of weight.
pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), ROC);
pub const MaxInstructions: u32 = 100;