remove warnings from auto-generated code
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
parent
554bc4499f
commit
c4f22df03d
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "casper-runtime"
|
||||
version = "4.0.3"
|
||||
version = "4.0.4"
|
||||
build = "build.rs"
|
||||
description = "Runtime of the Casper Network"
|
||||
edition.workspace = true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "casper-runtime-constants"
|
||||
version = "0.4.3"
|
||||
version = "0.4.4"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
homepage.workspace = true
|
||||
|
||||
@ -37,19 +37,19 @@ use sp_core::parameter_types;
|
||||
use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight};
|
||||
|
||||
parameter_types! {
|
||||
/// Time to execute an empty block.
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 1_042_579, 1_101_962
|
||||
/// Average: 1_054_295
|
||||
/// Median: 1_051_534
|
||||
/// Std-Dev: 9476.68
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 1_091_162
|
||||
/// 95th: 1_069_117
|
||||
/// 75th: 1_057_964
|
||||
// Time to execute an empty block.
|
||||
// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
//
|
||||
// Stats nanoseconds:
|
||||
// Min, Max: 1_042_579, 1_101_962
|
||||
// Average: 1_054_295
|
||||
// Median: 1_051_534
|
||||
// Std-Dev: 9476.68
|
||||
//
|
||||
// Percentiles nanoseconds:
|
||||
// 99th: 1_091_162
|
||||
// 95th: 1_069_117
|
||||
// 75th: 1_057_964
|
||||
pub const BlockExecutionWeight: Weight =
|
||||
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(1_054_295), 0);
|
||||
}
|
||||
|
||||
@ -37,19 +37,19 @@ use sp_core::parameter_types;
|
||||
use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight};
|
||||
|
||||
parameter_types! {
|
||||
/// Time to execute a NO-OP extrinsic, for example `System::remark`.
|
||||
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 378_590, 384_849
|
||||
/// Average: 380_658
|
||||
/// Median: 380_461
|
||||
/// Std-Dev: 1202.24
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 383_191
|
||||
/// 95th: 382_552
|
||||
/// 75th: 381_384
|
||||
// Time to execute a NO-OP extrinsic, for example `System::remark`.
|
||||
// Calculated by multiplying the *Average* with `1.0` and adding `0`.
|
||||
//
|
||||
// Stats nanoseconds:
|
||||
// Min, Max: 378_590, 384_849
|
||||
// Average: 380_658
|
||||
// Median: 380_461
|
||||
// Std-Dev: 1202.24
|
||||
//
|
||||
// Percentiles nanoseconds:
|
||||
// 99th: 383_191
|
||||
// 95th: 382_552
|
||||
// 75th: 381_384
|
||||
pub const ExtrinsicBaseWeight: Weight =
|
||||
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(380_658), 0);
|
||||
}
|
||||
|
||||
@ -45,34 +45,34 @@ pub mod constants {
|
||||
/// `ParityDB` can be enabled with a feature flag, but is still experimental. These weights
|
||||
/// are available for brave runtime engineers who may want to try this out as default.
|
||||
pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight {
|
||||
/// Time to read one storage item.
|
||||
/// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 3_485, 2_000_385
|
||||
/// Average: 26_775
|
||||
/// Median: 4_870
|
||||
/// Std-Dev: 205784.16
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 2_000_385
|
||||
/// 95th: 6_002
|
||||
/// 75th: 5_246
|
||||
// Time to read one storage item.
|
||||
// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
|
||||
//
|
||||
// Stats nanoseconds:
|
||||
// Min, Max: 3_485, 2_000_385
|
||||
// Average: 26_775
|
||||
// Median: 4_870
|
||||
// Std-Dev: 205784.16
|
||||
//
|
||||
// Percentiles nanoseconds:
|
||||
// 99th: 2_000_385
|
||||
// 95th: 6_002
|
||||
// 75th: 5_246
|
||||
read: 29_453 * constants::WEIGHT_REF_TIME_PER_NANOS,
|
||||
|
||||
/// Time to write one storage item.
|
||||
/// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 16_322, 25_965_124
|
||||
/// Average: 308_302
|
||||
/// Median: 29_481
|
||||
/// Std-Dev: 2674917.65
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 25_965_124
|
||||
/// 95th: 42_210
|
||||
/// 75th: 33_525
|
||||
// Time to write one storage item.
|
||||
// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
|
||||
//
|
||||
// Stats nanoseconds:
|
||||
// Min, Max: 16_322, 25_965_124
|
||||
// Average: 308_302
|
||||
// Median: 29_481
|
||||
// Std-Dev: 2674917.65
|
||||
//
|
||||
// Percentiles nanoseconds:
|
||||
// 99th: 25_965_124
|
||||
// 95th: 42_210
|
||||
// 75th: 33_525
|
||||
write: 339_133 * constants::WEIGHT_REF_TIME_PER_NANOS,
|
||||
};
|
||||
}
|
||||
|
||||
@ -44,34 +44,34 @@ pub mod constants {
|
||||
/// By default, Substrate uses `RocksDB`, so this will be the weight used throughout
|
||||
/// the runtime.
|
||||
pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight {
|
||||
/// Time to read one storage item.
|
||||
/// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 6_726, 2_902_682
|
||||
/// Average: 41_735
|
||||
/// Median: 10_059
|
||||
/// Std-Dev: 298297.77
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 2_902_682
|
||||
/// 95th: 14_199
|
||||
/// 75th: 11_422
|
||||
// Time to read one storage item.
|
||||
// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
|
||||
//
|
||||
// Stats nanoseconds:
|
||||
// Min, Max: 6_726, 2_902_682
|
||||
// Average: 41_735
|
||||
// Median: 10_059
|
||||
// Std-Dev: 298297.77
|
||||
//
|
||||
// Percentiles nanoseconds:
|
||||
// 99th: 2_902_682
|
||||
// 95th: 14_199
|
||||
// 75th: 11_422
|
||||
read: 45_909 * constants::WEIGHT_REF_TIME_PER_NANOS,
|
||||
|
||||
/// Time to write one storage item.
|
||||
/// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
|
||||
///
|
||||
/// Stats nanoseconds:
|
||||
/// Min, Max: 31_214, 45_912_915
|
||||
/// Average: 545_878
|
||||
/// Median: 51_543
|
||||
/// Std-Dev: 4729852.98
|
||||
///
|
||||
/// Percentiles nanoseconds:
|
||||
/// 99th: 45_912_915
|
||||
/// 95th: 68_658
|
||||
/// 75th: 58_683
|
||||
// Time to write one storage item.
|
||||
// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
|
||||
//
|
||||
// Stats nanoseconds:
|
||||
// Min, Max: 31_214, 45_912_915
|
||||
// Average: 545_878
|
||||
// Median: 51_543
|
||||
// Std-Dev: 4729852.98
|
||||
//
|
||||
// Percentiles nanoseconds:
|
||||
// 99th: 45_912_915
|
||||
// 95th: 68_658
|
||||
// 75th: 58_683
|
||||
write: 600_466 * constants::WEIGHT_REF_TIME_PER_NANOS,
|
||||
};
|
||||
}
|
||||
|
||||
@ -131,7 +131,7 @@ impl<T: frame_system::Config> ghost_weaver::WeightInfo for WeightInfo<T> {
|
||||
/// Proof: `GhostNetworks::NetworkImbalance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `System::Account` (r:1 w:0)
|
||||
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
||||
fn pull_evm_thread() -> Weight {
|
||||
fn pull_evm_thread(_a: u32) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `358`
|
||||
// Estimated: `3823`
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use frame_support::{
|
||||
traits::Get,
|
||||
traits::Get,
|
||||
weights::{Weight, constants::RocksDbWeight as DbWeight}
|
||||
};
|
||||
use core::marker::PhantomData;
|
||||
@ -67,7 +67,7 @@ impl<T: frame_system::Config> pallet_babe::WeightInfo for WeightInfo<T> {
|
||||
.saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(max_nominators_per_validator.into())))
|
||||
.saturating_add(Weight::from_parts(0, 3774).saturating_mul(max_nominators_per_validator.into()));
|
||||
|
||||
/// The range of component `x` is `[0, 1]`.
|
||||
// The range of component `x` is `[0, 1]`.
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user