Skip to content

Commit

Permalink
update weights
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci committed Sep 3, 2024
1 parent d308490 commit 270c5da
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 10 deletions.
22 changes: 18 additions & 4 deletions pallets/dapp-staking/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}

/// Storage: `DappStaking::Ledger` (r:2 w:1)
/// Proof: `DappStaking::Ledger` (`max_values`: None, `max_size`: Some(310), added: 2785, mode: `MaxEncodedLen`)
fn step() -> Weight {
Weight::default()
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `6560`
// Minimum execution time: 10_060_000 picoseconds.
Weight::from_parts(10_314_000, 6560)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}

Expand Down Expand Up @@ -885,8 +892,15 @@ impl WeightInfo for () {
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}

/// Storage: `DappStaking::Ledger` (r:2 w:1)
/// Proof: `DappStaking::Ledger` (`max_values`: None, `max_size`: Some(310), added: 2785, mode: `MaxEncodedLen`)
fn step() -> Weight {
Weight::default()
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `6560`
// Minimum execution time: 10_060_000 picoseconds.
Weight::from_parts(10_314_000, 6560)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
11 changes: 9 additions & 2 deletions runtime/astar/src/weights/pallet_dapp_staking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}

/// Storage: `DappStaking::Ledger` (r:2 w:1)
/// Proof: `DappStaking::Ledger` (`max_values`: None, `max_size`: Some(310), added: 2785, mode: `MaxEncodedLen`)
fn step() -> Weight {
Weight::default()
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `6560`
// Minimum execution time: 10_060_000 picoseconds.
Weight::from_parts(10_314_000, 6560)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
11 changes: 9 additions & 2 deletions runtime/shibuya/src/weights/pallet_dapp_staking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}

/// Storage: `DappStaking::Ledger` (r:2 w:1)
/// Proof: `DappStaking::Ledger` (`max_values`: None, `max_size`: Some(310), added: 2785, mode: `MaxEncodedLen`)
fn step() -> Weight {
Weight::default()
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `6560`
// Minimum execution time: 10_060_000 picoseconds.
Weight::from_parts(10_314_000, 6560)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}
11 changes: 9 additions & 2 deletions runtime/shiden/src/weights/pallet_dapp_staking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}

/// Storage: `DappStaking::Ledger` (r:2 w:1)
/// Proof: `DappStaking::Ledger` (`max_values`: None, `max_size`: Some(310), added: 2785, mode: `MaxEncodedLen`)
fn step() -> Weight {
Weight::default()
// Proof Size summary in bytes:
// Measured: `76`
// Estimated: `6560`
// Minimum execution time: 10_060_000 picoseconds.
Weight::from_parts(10_314_000, 6560)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}

0 comments on commit 270c5da

Please sign in to comment.