Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit d315e6e

Browse files
committed
Add missing weight functions
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
1 parent c9f49c8 commit d315e6e

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

parachains/runtimes/assets/statemint/src/weights/frame_system.rs

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
6969
// Standard Error: 0
7070
.saturating_add(Weight::from_parts(1_448, 0).saturating_mul(b.into()))
7171
}
72+
fn set_code() -> Weight {
73+
Weight::from_parts(1_000_000, 0)
74+
}
7275
/// Storage: System Digest (r:1 w:1)
7376
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
7477
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)

parachains/runtimes/bridge-hubs/bridge-hub-kusama/src/weights/frame_system.rs

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
6969
// Standard Error: 0
7070
.saturating_add(Weight::from_parts(1_414, 0).saturating_mul(b.into()))
7171
}
72+
fn set_code() -> Weight {
73+
Weight::from_parts(1_000_000, 0)
74+
}
7275
/// Storage: System Digest (r:1 w:1)
7376
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
7477
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)

parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/frame_system.rs

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
6969
// Standard Error: 0
7070
.saturating_add(Weight::from_parts(1_410, 0).saturating_mul(b.into()))
7171
}
72+
fn set_code() -> Weight {
73+
Weight::from_parts(1_000_000, 0)
74+
}
7275
/// Storage: System Digest (r:1 w:1)
7376
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
7477
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)

0 commit comments

Comments
 (0)