mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 13:08:03 +00:00
Fix for missing weight for fn unpaid_execution()
This commit is contained in:
@@ -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) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user