Skip to content
Snippets Groups Projects
Commit 188f16be authored by Svyatoslav Nikolsky's avatar Svyatoslav Nikolsky Committed by Bastian Köcher
Browse files

Fix XCM instruction weight in RialtoParachain to match Millau weight (#1418)

* fix XCM instruction weight in RialtoParachain to match Millau weight

* fix spelling
parent 1a806647
......@@ -354,10 +354,13 @@ pub type XcmOriginToTransactDispatchOrigin = (
XcmPassthrough<Origin>,
);
pub const BASE_XCM_WEIGHT: Weight = 1_000_000;
// TODO: until https://github.com/paritytech/parity-bridges-common/issues/1417 is fixed (in either way),
// the following constant must match the similar constant in the Millau runtime.
/// One XCM operation is `1_000_000_000` weight - almost certainly a conservative estimate.
pub const BASE_XCM_WEIGHT: Weight = 1_000_000_000;
parameter_types! {
// One XCM operation is 1_000_000 weight - almost certainly a conservative estimate.
pub UnitWeightCost: Weight = BASE_XCM_WEIGHT;
// One UNIT buys 1 second of weight.
pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), UNIT);
......
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