Fix for missing weight for fn unpaid_execution()

This commit is contained in:
Branislav Kontur committed 2022-11-08 14:57:49 +01:00
1 parent 23f0bcdc7d
commit a6dd610d74
6 files changed
+12

No files matched your search

@@ -241,4 +241,7 @@ impl<Call> XcmWeightInfo<Call> for StatemineXcmWeight<Call> {
// XCM Executor does not currently support alias origin operations
Weight::MAX.ref_time()
}
fn unpaid_execution(_: &WeightLimit, _: &Option<MultiLocation>) -> XCMWeight {
XcmGeneric::<Runtime>::unpaid_execution().ref_time()
}
}
@@ -185,4 +185,5 @@ impl<T: frame_system::Config> WeightInfo<T> {
pub(crate) fn set_fees_mode() -> Weight {
Weight::from_ref_time(6_426_000 as u64)
}
pub(crate) fn unpaid_execution() -> Weight { Weight::from_ref_time(3_111_000 as u64) }
}
@@ -241,4 +241,7 @@ impl<Call> XcmWeightInfo<Call> for StatemintXcmWeight<Call> {
// XCM Executor does not currently support alias origin operations
Weight::MAX.ref_time()
}
fn unpaid_execution(_: &WeightLimit, _: &Option<MultiLocation>) -> XCMWeight {
XcmGeneric::<Runtime>::unpaid_execution().ref_time()
}
}
@@ -185,4 +185,5 @@ impl<T: frame_system::Config> WeightInfo<T> {
pub(crate) fn set_fees_mode() -> Weight {
Weight::from_ref_time(6_336_000 as u64)
}
pub(crate) fn unpaid_execution() -> Weight { Weight::from_ref_time(3_111_000 as u64) }
}
@@ -241,4 +241,7 @@ impl<Call> XcmWeightInfo<Call> for WestmintXcmWeight<Call> {
// XCM Executor does not currently support alias origin operations
Weight::MAX.ref_time()
}
fn unpaid_execution(_: &WeightLimit, _: &Option<MultiLocation>) -> XCMWeight {
XcmGeneric::<Runtime>::unpaid_execution().ref_time()
}
}
@@ -185,4 +185,5 @@ impl<T: frame_system::Config> WeightInfo<T> {
pub(crate) fn set_fees_mode() -> Weight {
Weight::from_ref_time(6_392_000 as u64)
}
pub(crate) fn unpaid_execution() -> Weight { Weight::from_ref_time(3_111_000 as u64) }
}