mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 03:31:05 +00:00
* Update constant weight signatures * Keep timestamp constant time * constant as_derivative * cargo update -p sp-io Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+134
-134
File diff suppressed because it is too large
Load Diff
@@ -25,8 +25,7 @@ use sp_std::marker::PhantomData;
|
|||||||
|
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Trait> frame_system::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Trait> frame_system::WeightInfo for WeightInfo<T> {
|
||||||
// WARNING! Some components were not used: ["b"]
|
fn remark(_b: u32) -> Weight {
|
||||||
fn remark() -> Weight {
|
|
||||||
(1_861_000 as Weight)
|
(1_861_000 as Weight)
|
||||||
}
|
}
|
||||||
fn set_heap_pages() -> Weight {
|
fn set_heap_pages() -> Weight {
|
||||||
|
|||||||
@@ -25,13 +25,11 @@ use sp_std::marker::PhantomData;
|
|||||||
|
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Trait> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Trait> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||||
// WARNING! Some components were not used: ["t"]
|
|
||||||
fn set() -> Weight {
|
fn set() -> Weight {
|
||||||
(10_860_000 as Weight)
|
(10_860_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// WARNING! Some components were not used: ["t"]
|
|
||||||
fn on_finalize() -> Weight {
|
fn on_finalize() -> Weight {
|
||||||
(6_055_000 as Weight)
|
(6_055_000 as Weight)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ impl<T: frame_system::Trait> pallet_treasury::WeightInfo for WeightInfo<T> {
|
|||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// WARNING! Some components were not used: ["r"]
|
|
||||||
fn retract_tip() -> Weight {
|
fn retract_tip() -> Weight {
|
||||||
(82970000 as Weight)
|
(82970000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ impl<T: frame_system::Trait> pallet_utility::WeightInfo for WeightInfo<T> {
|
|||||||
(18_450_000 as Weight)
|
(18_450_000 as Weight)
|
||||||
.saturating_add((1_730_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((1_730_000 as Weight).saturating_mul(c as Weight))
|
||||||
}
|
}
|
||||||
// WARNING! Some components were not used: ["u"]
|
|
||||||
fn as_derivative() -> Weight {
|
fn as_derivative() -> Weight {
|
||||||
(5_360_000 as Weight)
|
(5_360_000 as Weight)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,8 +25,7 @@ use sp_std::marker::PhantomData;
|
|||||||
|
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Trait> frame_system::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Trait> frame_system::WeightInfo for WeightInfo<T> {
|
||||||
// WARNING! Some components were not used: ["b"]
|
fn remark(_b: u32) -> Weight {
|
||||||
fn remark() -> Weight {
|
|
||||||
(1_816_000 as Weight)
|
(1_816_000 as Weight)
|
||||||
}
|
}
|
||||||
fn set_heap_pages() -> Weight {
|
fn set_heap_pages() -> Weight {
|
||||||
|
|||||||
@@ -25,13 +25,11 @@ use sp_std::marker::PhantomData;
|
|||||||
|
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Trait> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Trait> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||||
// WARNING! Some components were not used: ["t"]
|
|
||||||
fn set() -> Weight {
|
fn set() -> Weight {
|
||||||
(11_029_000 as Weight)
|
(11_029_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// WARNING! Some components were not used: ["t"]
|
|
||||||
fn on_finalize() -> Weight {
|
fn on_finalize() -> Weight {
|
||||||
(6_128_000 as Weight)
|
(6_128_000 as Weight)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ impl<T: frame_system::Trait> pallet_treasury::WeightInfo for WeightInfo<T> {
|
|||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
.saturating_add(T::DbWeight::get().writes(2 as Weight))
|
||||||
}
|
}
|
||||||
// WARNING! Some components were not used: ["r"]
|
|
||||||
fn retract_tip() -> Weight {
|
fn retract_tip() -> Weight {
|
||||||
(55_293_000 as Weight)
|
(55_293_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
.saturating_add(T::DbWeight::get().reads(1 as Weight))
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ impl<T: frame_system::Trait> pallet_utility::WeightInfo for WeightInfo<T> {
|
|||||||
(18_589_000 as Weight)
|
(18_589_000 as Weight)
|
||||||
.saturating_add((1_734_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((1_734_000 as Weight).saturating_mul(c as Weight))
|
||||||
}
|
}
|
||||||
// WARNING! Some components were not used: ["u"]
|
|
||||||
fn as_derivative() -> Weight {
|
fn as_derivative() -> Weight {
|
||||||
(5_611_000 as Weight)
|
(5_611_000 as Weight)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,8 +25,7 @@ use sp_std::marker::PhantomData;
|
|||||||
|
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Trait> frame_system::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Trait> frame_system::WeightInfo for WeightInfo<T> {
|
||||||
// WARNING! Some components were not used: ["b"]
|
fn remark(_b: u32) -> Weight {
|
||||||
fn remark() -> Weight {
|
|
||||||
(1_816_000 as Weight)
|
(1_816_000 as Weight)
|
||||||
}
|
}
|
||||||
fn set_heap_pages() -> Weight {
|
fn set_heap_pages() -> Weight {
|
||||||
|
|||||||
@@ -25,13 +25,11 @@ use sp_std::marker::PhantomData;
|
|||||||
|
|
||||||
pub struct WeightInfo<T>(PhantomData<T>);
|
pub struct WeightInfo<T>(PhantomData<T>);
|
||||||
impl<T: frame_system::Trait> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
impl<T: frame_system::Trait> pallet_timestamp::WeightInfo for WeightInfo<T> {
|
||||||
// WARNING! Some components were not used: ["t"]
|
|
||||||
fn set() -> Weight {
|
fn set() -> Weight {
|
||||||
(11_029_000 as Weight)
|
(11_029_000 as Weight)
|
||||||
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
.saturating_add(T::DbWeight::get().reads(2 as Weight))
|
||||||
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
.saturating_add(T::DbWeight::get().writes(1 as Weight))
|
||||||
}
|
}
|
||||||
// WARNING! Some components were not used: ["t"]
|
|
||||||
fn on_finalize() -> Weight {
|
fn on_finalize() -> Weight {
|
||||||
(6_128_000 as Weight)
|
(6_128_000 as Weight)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ impl<T: frame_system::Trait> pallet_utility::WeightInfo for WeightInfo<T> {
|
|||||||
(18_589_000 as Weight)
|
(18_589_000 as Weight)
|
||||||
.saturating_add((1_734_000 as Weight).saturating_mul(c as Weight))
|
.saturating_add((1_734_000 as Weight).saturating_mul(c as Weight))
|
||||||
}
|
}
|
||||||
// WARNING! Some components were not used: ["u"]
|
|
||||||
fn as_derivative() -> Weight {
|
fn as_derivative() -> Weight {
|
||||||
(5_611_000 as Weight)
|
(5_611_000 as Weight)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user