Skip to content

Commit 593f43b

Browse files
committed
add back missing weights
1 parent d769ae8 commit 593f43b

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

runtime/hydradx/src/weights/pallet_circuit_breaker.rs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,46 @@ impl<T: frame_system::Config> pallet_circuit_breaker::WeightInfo for HydraWeight
171171
.saturating_add(T::DbWeight::get().reads(4_u64))
172172
.saturating_add(T::DbWeight::get().writes(2_u64))
173173
}
174+
/// Storage: `CircuitBreaker::AssetLockdownState` (r:0 w:1)
175+
/// Proof: `CircuitBreaker::AssetLockdownState` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
176+
fn lockdown_asset() -> Weight {
177+
// Proof Size summary in bytes:
178+
// Measured: `0`
179+
// Estimated: `0`
180+
// Minimum execution time: 9_804_000 picoseconds.
181+
Weight::from_parts(10_124_000, 0)
182+
.saturating_add(T::DbWeight::get().writes(1_u64))
183+
}
184+
/// Storage: `CircuitBreaker::AssetLockdownState` (r:1 w:1)
185+
/// Proof: `CircuitBreaker::AssetLockdownState` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
186+
/// Storage: `AssetRegistry::Assets` (r:1 w:0)
187+
/// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`)
188+
/// Storage: `Tokens::TotalIssuance` (r:1 w:0)
189+
/// Proof: `Tokens::TotalIssuance` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
190+
fn force_lift_lockdown() -> Weight {
191+
// Proof Size summary in bytes:
192+
// Measured: `956`
193+
// Estimated: `3590`
194+
// Minimum execution time: 39_343_000 picoseconds.
195+
Weight::from_parts(39_809_000, 3590)
196+
.saturating_add(T::DbWeight::get().reads(3_u64))
197+
.saturating_add(T::DbWeight::get().writes(1_u64))
198+
}
199+
/// Storage: `CircuitBreaker::AssetLockdownState` (r:1 w:0)
200+
/// Proof: `CircuitBreaker::AssetLockdownState` (`max_values`: None, `max_size`: Some(41), added: 2516, mode: `MaxEncodedLen`)
201+
/// Storage: `Tokens::Reserves` (r:1 w:1)
202+
/// Proof: `Tokens::Reserves` (`max_values`: None, `max_size`: Some(1261), added: 3736, mode: `MaxEncodedLen`)
203+
/// Storage: `AssetRegistry::Assets` (r:1 w:0)
204+
/// Proof: `AssetRegistry::Assets` (`max_values`: None, `max_size`: Some(125), added: 2600, mode: `MaxEncodedLen`)
205+
/// Storage: `Tokens::Accounts` (r:1 w:1)
206+
/// Proof: `Tokens::Accounts` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
207+
fn release_deposit() -> Weight {
208+
// Proof Size summary in bytes:
209+
// Measured: `1135`
210+
// Estimated: `4726`
211+
// Minimum execution time: 53_072_000 picoseconds.
212+
Weight::from_parts(53_589_000, 4726)
213+
.saturating_add(T::DbWeight::get().reads(4_u64))
214+
.saturating_add(T::DbWeight::get().writes(2_u64))
215+
}
174216
}

0 commit comments

Comments
 (0)