Skip to content

Commit

Permalink
fix weights
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekkMA committed Sep 20, 2024
1 parent 15fcb08 commit 0e6b976
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pallets/parachain-staking/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,17 @@ impl WeightInfo for () {
Weight::from_parts(45_011_000, 1573)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `ParachainStaking::InflationDistributionInfo` (r:2 w:1)
/// Proof: `ParachainStaking::InflationDistributionInfo` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn set_inflation_distribution_config() -> Weight {
// Proof Size summary in bytes:
// Measured: `33`
// Estimated: `5973`
// Minimum execution time: 15_830_000 picoseconds.
Weight::from_parts(23_810_000, 5973)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: ParachainStaking TotalSelected (r:1 w:1)
/// Proof Skipped: ParachainStaking TotalSelected (max_values: Some(1), max_size: None, mode: Measured)
Expand Down

0 comments on commit 0e6b976

Please sign in to comment.