remove warnings from auto-generated code

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky 2026-09-05 23:38:22 +03:00
parent 554bc4499f
commit c4f22df03d
Signed by: st1nky
GPG Key ID: 016064BD97603B40
8 changed files with 83 additions and 83 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "casper-runtime" name = "casper-runtime"
version = "4.0.3" version = "4.0.4"
build = "build.rs" build = "build.rs"
description = "Runtime of the Casper Network" description = "Runtime of the Casper Network"
edition.workspace = true edition.workspace = true

View File

@ -1,6 +1,6 @@
[package] [package]
name = "casper-runtime-constants" name = "casper-runtime-constants"
version = "0.4.3" version = "0.4.4"
authors.workspace = true authors.workspace = true
edition.workspace = true edition.workspace = true
homepage.workspace = true homepage.workspace = true

View File

@ -37,19 +37,19 @@ use sp_core::parameter_types;
use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight}; use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight};
parameter_types! { parameter_types! {
/// Time to execute an empty block. // Time to execute an empty block.
/// Calculated by multiplying the *Average* with `1.0` and adding `0`. // Calculated by multiplying the *Average* with `1.0` and adding `0`.
/// //
/// Stats nanoseconds: // Stats nanoseconds:
/// Min, Max: 1_042_579, 1_101_962 // Min, Max: 1_042_579, 1_101_962
/// Average: 1_054_295 // Average: 1_054_295
/// Median: 1_051_534 // Median: 1_051_534
/// Std-Dev: 9476.68 // Std-Dev: 9476.68
/// //
/// Percentiles nanoseconds: // Percentiles nanoseconds:
/// 99th: 1_091_162 // 99th: 1_091_162
/// 95th: 1_069_117 // 95th: 1_069_117
/// 75th: 1_057_964 // 75th: 1_057_964
pub const BlockExecutionWeight: Weight = pub const BlockExecutionWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(1_054_295), 0); Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(1_054_295), 0);
} }

View File

@ -37,19 +37,19 @@ use sp_core::parameter_types;
use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight}; use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight};
parameter_types! { parameter_types! {
/// Time to execute a NO-OP extrinsic, for example `System::remark`. // Time to execute a NO-OP extrinsic, for example `System::remark`.
/// Calculated by multiplying the *Average* with `1.0` and adding `0`. // Calculated by multiplying the *Average* with `1.0` and adding `0`.
/// //
/// Stats nanoseconds: // Stats nanoseconds:
/// Min, Max: 378_590, 384_849 // Min, Max: 378_590, 384_849
/// Average: 380_658 // Average: 380_658
/// Median: 380_461 // Median: 380_461
/// Std-Dev: 1202.24 // Std-Dev: 1202.24
/// //
/// Percentiles nanoseconds: // Percentiles nanoseconds:
/// 99th: 383_191 // 99th: 383_191
/// 95th: 382_552 // 95th: 382_552
/// 75th: 381_384 // 75th: 381_384
pub const ExtrinsicBaseWeight: Weight = pub const ExtrinsicBaseWeight: Weight =
Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(380_658), 0); Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(380_658), 0);
} }

View File

@ -45,34 +45,34 @@ pub mod constants {
/// `ParityDB` can be enabled with a feature flag, but is still experimental. These weights /// `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. /// are available for brave runtime engineers who may want to try this out as default.
pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight { pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight {
/// Time to read one storage item. // Time to read one storage item.
/// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`. // Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
/// //
/// Stats nanoseconds: // Stats nanoseconds:
/// Min, Max: 3_485, 2_000_385 // Min, Max: 3_485, 2_000_385
/// Average: 26_775 // Average: 26_775
/// Median: 4_870 // Median: 4_870
/// Std-Dev: 205784.16 // Std-Dev: 205784.16
/// //
/// Percentiles nanoseconds: // Percentiles nanoseconds:
/// 99th: 2_000_385 // 99th: 2_000_385
/// 95th: 6_002 // 95th: 6_002
/// 75th: 5_246 // 75th: 5_246
read: 29_453 * constants::WEIGHT_REF_TIME_PER_NANOS, read: 29_453 * constants::WEIGHT_REF_TIME_PER_NANOS,
/// Time to write one storage item. // Time to write one storage item.
/// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`. // Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
/// //
/// Stats nanoseconds: // Stats nanoseconds:
/// Min, Max: 16_322, 25_965_124 // Min, Max: 16_322, 25_965_124
/// Average: 308_302 // Average: 308_302
/// Median: 29_481 // Median: 29_481
/// Std-Dev: 2674917.65 // Std-Dev: 2674917.65
/// //
/// Percentiles nanoseconds: // Percentiles nanoseconds:
/// 99th: 25_965_124 // 99th: 25_965_124
/// 95th: 42_210 // 95th: 42_210
/// 75th: 33_525 // 75th: 33_525
write: 339_133 * constants::WEIGHT_REF_TIME_PER_NANOS, write: 339_133 * constants::WEIGHT_REF_TIME_PER_NANOS,
}; };
} }

View File

@ -44,34 +44,34 @@ pub mod constants {
/// By default, Substrate uses `RocksDB`, so this will be the weight used throughout /// By default, Substrate uses `RocksDB`, so this will be the weight used throughout
/// the runtime. /// the runtime.
pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight { pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight {
/// Time to read one storage item. // Time to read one storage item.
/// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`. // Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
/// //
/// Stats nanoseconds: // Stats nanoseconds:
/// Min, Max: 6_726, 2_902_682 // Min, Max: 6_726, 2_902_682
/// Average: 41_735 // Average: 41_735
/// Median: 10_059 // Median: 10_059
/// Std-Dev: 298297.77 // Std-Dev: 298297.77
/// //
/// Percentiles nanoseconds: // Percentiles nanoseconds:
/// 99th: 2_902_682 // 99th: 2_902_682
/// 95th: 14_199 // 95th: 14_199
/// 75th: 11_422 // 75th: 11_422
read: 45_909 * constants::WEIGHT_REF_TIME_PER_NANOS, read: 45_909 * constants::WEIGHT_REF_TIME_PER_NANOS,
/// Time to write one storage item. // Time to write one storage item.
/// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`. // Calculated by multiplying the *Average* of all values with `1.1` and adding `0`.
/// //
/// Stats nanoseconds: // Stats nanoseconds:
/// Min, Max: 31_214, 45_912_915 // Min, Max: 31_214, 45_912_915
/// Average: 545_878 // Average: 545_878
/// Median: 51_543 // Median: 51_543
/// Std-Dev: 4729852.98 // Std-Dev: 4729852.98
/// //
/// Percentiles nanoseconds: // Percentiles nanoseconds:
/// 99th: 45_912_915 // 99th: 45_912_915
/// 95th: 68_658 // 95th: 68_658
/// 75th: 58_683 // 75th: 58_683
write: 600_466 * constants::WEIGHT_REF_TIME_PER_NANOS, write: 600_466 * constants::WEIGHT_REF_TIME_PER_NANOS,
}; };
} }

View File

@ -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`) /// Proof: `GhostNetworks::NetworkImbalance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0) /// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// 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: // Proof Size summary in bytes:
// Measured: `358` // Measured: `358`
// Estimated: `3823` // Estimated: `3823`

View File

@ -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(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())); .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: // Proof Size summary in bytes:
// Measured: `0` // Measured: `0`
// Estimated: `0` // Estimated: `0`