mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 17:21:08 +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
|
// XCM Executor does not currently support alias origin operations
|
||||||
Weight::MAX.ref_time()
|
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 {
|
pub(crate) fn set_fees_mode() -> Weight {
|
||||||
Weight::from_ref_time(6_426_000 as u64)
|
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
|
// XCM Executor does not currently support alias origin operations
|
||||||
Weight::MAX.ref_time()
|
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 {
|
pub(crate) fn set_fees_mode() -> Weight {
|
||||||
Weight::from_ref_time(6_336_000 as u64)
|
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
|
// XCM Executor does not currently support alias origin operations
|
||||||
Weight::MAX.ref_time()
|
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 {
|
pub(crate) fn set_fees_mode() -> Weight {
|
||||||
Weight::from_ref_time(6_392_000 as u64)
|
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