Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
hqwangningbo committed Jan 27, 2025
1 parent eafafad commit ec9a515
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions runtime/bifrost-paseo/src/weights/bifrost_vesting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,18 @@ impl<T: frame_system::Config> bifrost_vesting::WeightInfo for BifrostWeight<T> {
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Vesting::Vesting` (r:2 w:1)
/// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`)
/// The range of component `x` is `[1, 28]`.
fn step(x: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `316 + x * (36 ±0)`
// Estimated: `8054`
// Minimum execution time: 13_079_000 picoseconds.
Weight::from_parts(13_513_131, 8054)
// Standard Error: 723
.saturating_add(Weight::from_parts(102_389, 0).saturating_mul(x.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}

0 comments on commit ec9a515

Please sign in to comment.