* companion PR for https://github.com/paritytech/substrate/pull/13373

* Add missing trait function

* Fix template

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add missing weight functions

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* update lockfile for {"polkadot", "substrate"}

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Falco Hirschenberger <falco.hirschenberger@itwm.fraunhofer.de>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: parity-processbot <>
This commit is contained in:
Falco Hirschenberger
2023-05-11 20:27:33 +02:00
committed by GitHub
parent cc4038c46c
commit 0ea1814c0c
8 changed files with 280 additions and 258 deletions
Generated
+259 -258
View File
File diff suppressed because it is too large Load Diff
@@ -70,6 +70,9 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Standard Error: 0
.saturating_add(Weight::from_parts(1_397, 0).saturating_mul(b.into()))
}
fn set_code() -> Weight {
Weight::from_parts(1_000_000, 0)
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
@@ -70,6 +70,9 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Standard Error: 1
.saturating_add(Weight::from_parts(1_406, 0).saturating_mul(b.into()))
}
fn set_code() -> Weight {
Weight::from_parts(1_000_000, 0)
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
@@ -84,6 +84,9 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
fn set_code() -> Weight {
Weight::from_parts(1_000_000, 0)
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
@@ -70,6 +70,9 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Standard Error: 0
.saturating_add(Weight::from_parts(1_451, 0).saturating_mul(b.into()))
}
fn set_code() -> Weight {
Weight::from_parts(1_000_000, 0)
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
@@ -84,6 +84,9 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
fn set_code() -> Weight {
Weight::from_parts(1_000_000, 0)
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.
@@ -70,6 +70,9 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Standard Error: 0
.saturating_add(Weight::from_parts(1_404, 0).saturating_mul(b.into()))
}
fn set_code() -> Weight {
Weight::from_parts(1_000_000, 0)
}
/// Storage: System Digest (r:1 w:1)
/// Proof Skipped: System Digest (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: unknown `0x3a686561707061676573` (r:0 w:1)
@@ -84,6 +84,9 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().reads(1))
.saturating_add(T::DbWeight::get().writes(2))
}
fn set_code() -> Weight {
Weight::from_parts(1_000_000, 0)
}
/// Storage: Skipped Metadata (r:0 w:0)
/// Proof Skipped: Skipped Metadata (max_values: None, max_size: None, mode: Measured)
/// The range of component `i` is `[0, 1000]`.