mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 07:58:00 +00:00
Companion for Weight v1.5 Follow Up (#5949)
* updates
* remove new
* fix up some stuff
* fix cargo files
* fix
* fix template
* update lockfile for {"substrate"}
* Update block_weights.rs
* remove unused
* remove unused
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -78,7 +78,7 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
fn refund(k: u32, ) -> Weight {
|
||||
Weight::from_ref_time(2_505_000 as RefTimeWeight)
|
||||
// Standard Error: 13_000
|
||||
.saturating_add(Weight::from_ref_time(19_613_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(19_613_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
|
||||
@@ -125,7 +125,7 @@ impl<T: frame_system::Config> runtime_common::crowdloan::WeightInfo for WeightIn
|
||||
fn on_initialize(n: u32, ) -> Weight {
|
||||
Weight::from_ref_time(0 as RefTimeWeight)
|
||||
// Standard Error: 25_000
|
||||
.saturating_add(Weight::from_ref_time(51_756_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(Weight::from_ref_time(51_756_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight))
|
||||
.saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
|
||||
.saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight))
|
||||
|
||||
Reference in New Issue
Block a user