diff --git a/Cargo.lock b/Cargo.lock index 44e4460..b243cc8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1195,7 +1195,7 @@ dependencies = [ [[package]] name = "casper-runtime" -version = "4.0.15" +version = "4.0.16" dependencies = [ "casper-runtime-constants", "frame-benchmarking", @@ -3685,7 +3685,7 @@ dependencies = [ [[package]] name = "ghost-exodus" -version = "0.1.1" +version = "0.1.6" dependencies = [ "chacha20poly1305", "frame-benchmarking", @@ -3737,7 +3737,7 @@ dependencies = [ [[package]] name = "ghost-governance" -version = "0.3.10" +version = "0.3.11" dependencies = [ "frame-benchmarking", "frame-support", @@ -3762,7 +3762,7 @@ dependencies = [ [[package]] name = "ghost-helpers" -version = "0.0.14" +version = "0.0.15" dependencies = [ "frame-support", "ghost-traits", @@ -4090,7 +4090,7 @@ dependencies = [ [[package]] name = "ghost-traits" -version = "0.4.9" +version = "0.4.10" dependencies = [ "frame-support", "frost-core", @@ -4114,7 +4114,7 @@ dependencies = [ [[package]] name = "ghost-weaver" -version = "0.0.16" +version = "0.0.22" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/pallets/exodus/Cargo.toml b/pallets/exodus/Cargo.toml index 800b5e5..cc058d0 100644 --- a/pallets/exodus/Cargo.toml +++ b/pallets/exodus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-exodus" -version = "0.1.5" +version = "0.1.6" description = "Threshold signature generation with DKG included" license.workspace = true authors.workspace = true diff --git a/pallets/exodus/src/weights.rs b/pallets/exodus/src/weights.rs index 1f5d83b..e814951 100644 --- a/pallets/exodus/src/weights.rs +++ b/pallets/exodus/src/weights.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `ghost_exodus` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2026-09-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-10-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 @@ -63,34 +63,30 @@ pub trait WeightInfo { /// Weight functions for `ghost_exodus`. impl WeightInfo for () { - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:1) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Round0Packages` (r:0 w:1) /// Proof: `GhostExodus::Round0Packages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_round0_package() -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3816` - // Minimum execution time: 240_813_000 picoseconds. - Weight::from_parts(243_523_000, 0) - .saturating_add(Weight::from_parts(0, 3816)) + // Measured: `365` + // Estimated: `3830` + // Minimum execution time: 240_843_000 picoseconds. + Weight::from_parts(243_855_000, 0) + .saturating_add(Weight::from_parts(0, 3830)) .saturating_add(RocksDbWeight::get().reads(4)) - .saturating_add(RocksDbWeight::get().writes(3)) + .saturating_add(RocksDbWeight::get().writes(2)) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Round0Packages` (r:1 w:0) /// Proof: `GhostExodus::Round0Packages` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Round1Packages` (r:1 w:1) @@ -98,119 +94,109 @@ impl WeightInfo for () { /// The range of component `c` is `[4, 300]`. fn register_round1_package(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `391 + c * (32 ±0)` - // Estimated: `3856 + c * (32 ±0)` - // Minimum execution time: 1_356_791_000 picoseconds. - Weight::from_parts(1_221_760_215, 0) - .saturating_add(Weight::from_parts(0, 3856)) - // Standard Error: 16_481 - .saturating_add(Weight::from_parts(33_163_393, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(6)) - .saturating_add(RocksDbWeight::get().writes(2)) + // Measured: `405 + c * (32 ±0)` + // Estimated: `3870 + c * (32 ±0)` + // Minimum execution time: 1_349_108_000 picoseconds. + Weight::from_parts(1_224_956_354, 0) + .saturating_add(Weight::from_parts(0, 3870)) + // Standard Error: 14_930 + .saturating_add(Weight::from_parts(33_204_477, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(5)) + .saturating_add(RocksDbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into())) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Round2Packages` (r:1 w:1) /// Proof: `GhostExodus::Round2Packages` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[1, 37]`. + /// The range of component `c` is `[1, 300]`. fn register_encrypted_round2_packages(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `317 + c * (257 ±0)` - // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 254_590_000 picoseconds. - Weight::from_parts(258_091_105, 0) - .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 25_082 - .saturating_add(Weight::from_parts(6_595_878, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(5)) - .saturating_add(RocksDbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 257).saturating_mul(c.into())) + // Measured: `332 + c * (32 ±0)` + // Estimated: `3797 + c * (32 ±0)` + // Minimum execution time: 245_305_000 picoseconds. + Weight::from_parts(253_863_353, 0) + .saturating_add(Weight::from_parts(0, 3797)) + // Standard Error: 3_527 + .saturating_add(Weight::from_parts(810_623, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(4)) + .saturating_add(RocksDbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into())) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Complaints` (r:1 w:1) /// Proof: `GhostExodus::Complaints` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[1, 37]`. + /// The range of component `c` is `[1, 300]`. fn register_round3_complaints(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `317 + c * (257 ±0)` - // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 240_888_000 picoseconds. - Weight::from_parts(245_480_975, 0) - .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 13_733 - .saturating_add(Weight::from_parts(371_161, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(5)) - .saturating_add(RocksDbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 257).saturating_mul(c.into())) + // Measured: `332 + c * (32 ±0)` + // Estimated: `3797 + c * (32 ±0)` + // Minimum execution time: 238_391_000 picoseconds. + Weight::from_parts(238_937_380, 0) + .saturating_add(Weight::from_parts(0, 3797)) + // Standard Error: 1_789 + .saturating_add(Weight::from_parts(39_316, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(4)) + .saturating_add(RocksDbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into())) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Justifications` (r:1 w:1) /// Proof: `GhostExodus::Justifications` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[1, 37]`. + /// The range of component `c` is `[1, 300]`. fn register_round4_justifications(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `317 + c * (257 ±0)` - // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 251_521_000 picoseconds. - Weight::from_parts(253_053_636, 0) - .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 14_691 - .saturating_add(Weight::from_parts(4_101_872, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(5)) - .saturating_add(RocksDbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 257).saturating_mul(c.into())) + // Measured: `332 + c * (32 ±0)` + // Estimated: `3797 + c * (32 ±0)` + // Minimum execution time: 245_916_000 picoseconds. + Weight::from_parts(251_070_206, 0) + .saturating_add(Weight::from_parts(0, 3797)) + // Standard Error: 2_152 + .saturating_add(Weight::from_parts(508_508, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(4)) + .saturating_add(RocksDbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into())) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Verifications` (r:1 w:1) /// Proof: `GhostExodus::Verifications` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::VerifyingKeyConsensus` (r:1 w:1) /// Proof: `GhostExodus::VerifyingKeyConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_round5_verifying_package() -> Weight { // Proof Size summary in bytes: - // Measured: `448` - // Estimated: `3913` - // Minimum execution time: 265_187_000 picoseconds. - Weight::from_parts(269_124_000, 0) - .saturating_add(Weight::from_parts(0, 3913)) - .saturating_add(RocksDbWeight::get().reads(6)) - .saturating_add(RocksDbWeight::get().writes(3)) + // Measured: `462` + // Estimated: `3927` + // Minimum execution time: 271_654_000 picoseconds. + Weight::from_parts(286_394_000, 0) + .saturating_add(Weight::from_parts(0, 3927)) + .saturating_add(RocksDbWeight::get().reads(5)) + .saturating_add(RocksDbWeight::get().writes(2)) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::VerifyingKeyConsensus` (r:1 w:0) /// Proof: `GhostExodus::VerifyingKeyConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::VerifyingShares` (r:1 w:1) @@ -221,18 +207,18 @@ impl WeightInfo for () { fn register_round6_public_share_package(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + c * (770 ±0)` - // Estimated: `1551 + c * (1019 ±27)` - // Minimum execution time: 284_558_000 picoseconds. - Weight::from_parts(284_117_484, 0) - .saturating_add(Weight::from_parts(0, 1551)) - // Standard Error: 74_361 - .saturating_add(Weight::from_parts(3_551_271, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(7)) - .saturating_add(RocksDbWeight::get().writes(3)) + // Estimated: `1698 + c * (1019 ±27)` + // Minimum execution time: 283_863_000 picoseconds. + Weight::from_parts(286_691_978, 0) + .saturating_add(Weight::from_parts(0, 1698)) + // Standard Error: 85_685 + .saturating_add(Weight::from_parts(2_854_037, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(6)) + .saturating_add(RocksDbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1019).saturating_mul(c.into())) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ActiveDkgAuthorities` (r:1 w:0) @@ -243,24 +229,22 @@ impl WeightInfo for () { /// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::RoastSessions` (r:1 w:1) /// Proof: `GhostExodus::RoastSessions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::RoastSessionStates` (r:1 w:1) /// Proof: `GhostExodus::RoastSessionStates` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::NonceCommitments` (r:0 w:1) /// Proof: `GhostExodus::NonceCommitments` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_nonce_commitment() -> Weight { // Proof Size summary in bytes: - // Measured: `627` - // Estimated: `4092` - // Minimum execution time: 315_066_000 picoseconds. - Weight::from_parts(318_561_000, 0) - .saturating_add(Weight::from_parts(0, 4092)) + // Measured: `633` + // Estimated: `4098` + // Minimum execution time: 369_666_000 picoseconds. + Weight::from_parts(373_163_000, 0) + .saturating_add(Weight::from_parts(0, 4098)) .saturating_add(RocksDbWeight::get().reads(8)) - .saturating_add(RocksDbWeight::get().writes(5)) + .saturating_add(RocksDbWeight::get().writes(4)) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ActiveDkgAuthorities` (r:1 w:0) @@ -269,8 +253,6 @@ impl WeightInfo for () { /// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::RoastSessions` (r:1 w:0) /// Proof: `GhostExodus::RoastSessions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ExodusRequests` (r:1 w:0) /// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::GroupCommitters` (r:1 w:1) @@ -281,16 +263,16 @@ impl WeightInfo for () { /// Proof: `GhostExodus::GroupCommitmentsConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_group_commitment() -> Weight { // Proof Size summary in bytes: - // Measured: `992` - // Estimated: `4457` - // Minimum execution time: 338_644_000 picoseconds. - Weight::from_parts(343_954_000, 0) - .saturating_add(Weight::from_parts(0, 4457)) - .saturating_add(RocksDbWeight::get().reads(10)) - .saturating_add(RocksDbWeight::get().writes(4)) + // Measured: `1032` + // Estimated: `4495` + // Minimum execution time: 339_569_000 picoseconds. + Weight::from_parts(341_788_000, 0) + .saturating_add(Weight::from_parts(0, 4495)) + .saturating_add(RocksDbWeight::get().reads(9)) + .saturating_add(RocksDbWeight::get().writes(3)) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ActiveDkgAuthorities` (r:1 w:0) @@ -299,8 +281,6 @@ impl WeightInfo for () { /// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::RoastSessions` (r:1 w:1) /// Proof: `GhostExodus::RoastSessions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::GroupCommitmentsConsensus` (r:1 w:1) /// Proof: `GhostExodus::GroupCommitmentsConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ExodusRequests` (r:1 w:1) @@ -323,13 +303,13 @@ impl WeightInfo for () { /// Proof: `GhostExodus::CounterForExodusRequests` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn register_signature_share() -> Weight { // Proof Size summary in bytes: - // Measured: `11299` - // Estimated: `14764` - // Minimum execution time: 3_968_938_000 picoseconds. - Weight::from_parts(3_975_088_000, 0) - .saturating_add(Weight::from_parts(0, 14764)) - .saturating_add(RocksDbWeight::get().reads(15)) - .saturating_add(RocksDbWeight::get().writes(9)) + // Measured: `11337` + // Estimated: `14802` + // Minimum execution time: 4_046_065_000 picoseconds. + Weight::from_parts(4_059_064_000, 0) + .saturating_add(Weight::from_parts(0, 14802)) + .saturating_add(RocksDbWeight::get().reads(14)) + .saturating_add(RocksDbWeight::get().writes(8)) } /// Storage: `GhostNetworks::Networks` (r:1 w:0) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -339,17 +319,17 @@ impl WeightInfo for () { /// Proof: `GhostNetworks::NetworkImbalance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::CurrentExodus` (r:1 w:1) - /// Proof: `GhostExodus::CurrentExodus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::CurrentExodusSessions` (r:1 w:1) + /// Proof: `GhostExodus::CurrentExodusSessions` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ExodusRequests` (r:1 w:1) /// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_evm_bridge_out_exodus() -> Weight { // Proof Size summary in bytes: - // Measured: `448` - // Estimated: `3913` - // Minimum execution time: 191_374_000 picoseconds. - Weight::from_parts(192_991_000, 0) - .saturating_add(Weight::from_parts(0, 3913)) + // Measured: `457` + // Estimated: `3922` + // Minimum execution time: 195_417_000 picoseconds. + Weight::from_parts(196_842_000, 0) + .saturating_add(Weight::from_parts(0, 3922)) .saturating_add(RocksDbWeight::get().reads(7)) .saturating_add(RocksDbWeight::get().writes(5)) } diff --git a/pallets/governance/Cargo.toml b/pallets/governance/Cargo.toml index 2fd542d..21d8bc8 100644 --- a/pallets/governance/Cargo.toml +++ b/pallets/governance/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-governance" -version = "0.3.10" +version = "0.3.11" description = "Full-chain and cross-chain governance pallet with early adopter share claims" license.workspace = true authors.workspace = true diff --git a/pallets/governance/src/weights.rs b/pallets/governance/src/weights.rs index bb42b58..903ef88 100644 --- a/pallets/governance/src/weights.rs +++ b/pallets/governance/src/weights.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `ghost_governance` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2026-09-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-10-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 @@ -67,11 +67,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `283` // Estimated: `3748` - // Minimum execution time: 229_254_000 picoseconds. - Weight::from_parts(229_992_093, 0) + // Minimum execution time: 224_852_000 picoseconds. + Weight::from_parts(225_347_733, 0) .saturating_add(Weight::from_parts(0, 3748)) - // Standard Error: 25_680 - .saturating_add(Weight::from_parts(1_874_433, 0).saturating_mul(p.into())) + // Standard Error: 21_234 + .saturating_add(Weight::from_parts(1_581_800, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(5)) .saturating_add(RocksDbWeight::get().writes(5)) } diff --git a/pallets/weaver/Cargo.toml b/pallets/weaver/Cargo.toml index ba049dc..7e7cb26 100644 --- a/pallets/weaver/Cargo.toml +++ b/pallets/weaver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-weaver" -version = "0.0.21" +version = "0.0.22" description = "Weaving a secure cryptographic tapestry across different external chains." license.workspace = true authors.workspace = true diff --git a/pallets/weaver/src/weights.rs b/pallets/weaver/src/weights.rs index 9f2c80e..bf4bed1 100644 --- a/pallets/weaver/src/weights.rs +++ b/pallets/weaver/src/weights.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `ghost_weaver` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2026-09-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-10-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 @@ -67,16 +67,16 @@ impl WeightInfo for () { /// The range of component `a` is `[1, 300]`. fn extend_warp(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `223 + a * (32 ±0)` - // Estimated: `3687 + a * (32 ±0)` - // Minimum execution time: 212_751_000 picoseconds. - Weight::from_parts(215_022_916, 0) - .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 1_319 - .saturating_add(Weight::from_parts(53_379, 0).saturating_mul(a.into())) - .saturating_add(RocksDbWeight::get().reads(5)) - .saturating_add(RocksDbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) + // Measured: `274 + a * (33 ±0)` + // Estimated: `3736 + a * (33 ±0)` + // Minimum execution time: 229_711_000 picoseconds. + Weight::from_parts(233_206_680, 0) + .saturating_add(Weight::from_parts(0, 3736)) + // Standard Error: 1_554 + .saturating_add(Weight::from_parts(66_095, 0).saturating_mul(a.into())) + .saturating_add(RocksDbWeight::get().reads(6)) + .saturating_add(RocksDbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(a.into())) } /// Storage: `GhostWeaver::DisabledAuthorities` (r:1 w:0) /// Proof: `GhostWeaver::DisabledAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -93,16 +93,16 @@ impl WeightInfo for () { /// The range of component `a` is `[1, 300]`. fn weave_weft(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `518 + a * (32 ±0)` - // Estimated: `3982 + a * (32 ±0)` - // Minimum execution time: 212_751_000 picoseconds. - Weight::from_parts(246_374_350, 0) - .saturating_add(Weight::from_parts(0, 3982)) + // Measured: `569 + a * (33 ±0)` + // Estimated: `4031 + a * (33 ±0)` + // Minimum execution time: 262_809_000 picoseconds. + Weight::from_parts(267_769_707, 0) + .saturating_add(Weight::from_parts(0, 4031)) // Standard Error: 1_865 - .saturating_add(Weight::from_parts(38_601, 0).saturating_mul(a.into())) - .saturating_add(RocksDbWeight::get().reads(6)) - .saturating_add(RocksDbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(39_109, 0).saturating_mul(a.into())) + .saturating_add(RocksDbWeight::get().reads(8)) + .saturating_add(RocksDbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(a.into())) } /// Storage: `GhostNetworks::Networks` (r:1 w:0) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -119,12 +119,12 @@ impl WeightInfo for () { /// The range of component `a` is `[1, 144]`. fn pull_utxo_thread(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `449` - // Estimated: `3914` - // Minimum execution time: 217_880_000 picoseconds. - Weight::from_parts(217_119_201, 0) - // Standard Error: 4_368 - .saturating_add(Weight::from_parts(3_445_491, 0).saturating_mul(a.into())) + // Measured: `500` + // Estimated: `3965` + // Minimum execution time: 217_481_000 picoseconds. + Weight::from_parts(216_492_234, 0) + // Standard Error: 4_414 + .saturating_add(Weight::from_parts(3_376_569, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(6)) .saturating_add(RocksDbWeight::get().writes(4)) } @@ -142,11 +142,11 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn pull_evm_thread() -> Weight { // Proof Size summary in bytes: - // Measured: `449` - // Estimated: `3914` - // Minimum execution time: 183_413_000 picoseconds. - Weight::from_parts(186_271_000, 0) - .saturating_add(Weight::from_parts(0, 3914)) + // Measured: `500` + // Estimated: `3965` + // Minimum execution time: 176_861_000 picoseconds. + Weight::from_parts(177_861_000, 0) + .saturating_add(Weight::from_parts(0, 3965)) .saturating_add(RocksDbWeight::get().reads(6)) .saturating_add(RocksDbWeight::get().writes(4)) } diff --git a/runtime/casper/Cargo.toml b/runtime/casper/Cargo.toml index 6f8ee6f..629a95a 100644 --- a/runtime/casper/Cargo.toml +++ b/runtime/casper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "casper-runtime" -version = "4.0.15" +version = "4.0.16" build = "build.rs" description = "Runtime of the Casper Network" edition.workspace = true diff --git a/runtime/casper/src/weights/ghost_exodus.rs b/runtime/casper/src/weights/ghost_exodus.rs index 41999fc..7d5d348 100644 --- a/runtime/casper/src/weights/ghost_exodus.rs +++ b/runtime/casper/src/weights/ghost_exodus.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `ghost_exodus` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2026-09-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-10-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 @@ -46,252 +46,232 @@ use core::marker::PhantomData; /// Weight functions for `ghost_exodus`. pub struct WeightInfo(PhantomData); impl ghost_exodus::WeightInfo for WeightInfo { - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:1) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::Round0Packages` (r:1 w:1) + /// Proof: `GhostExodus::Round0Packages` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::Round0Packages` (r:0 w:1) - /// Proof: `GhostExodus::Round0Packages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_round0_package() -> Weight { // Proof Size summary in bytes: - // Measured: `351` - // Estimated: `3816` - // Minimum execution time: 240_813_000 picoseconds. - Weight::from_parts(243_523_000, 0) - .saturating_add(Weight::from_parts(0, 3816)) + // Measured: `365` + // Estimated: `3830` + // Minimum execution time: 240_843_000 picoseconds. + Weight::from_parts(243_855_000, 0) + .saturating_add(Weight::from_parts(0, 3830)) .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::Round0Packages` (r:1 w:0) - /// Proof: `GhostExodus::Round0Packages` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Round1Packages` (r:1 w:1) /// Proof: `GhostExodus::Round1Packages` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::Round0Packages` (r:1 w:0) + /// Proof: `GhostExodus::Round0Packages` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[4, 300]`. fn register_round1_package(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `391 + c * (32 ±0)` - // Estimated: `3856 + c * (32 ±0)` - // Minimum execution time: 1_356_791_000 picoseconds. - Weight::from_parts(1_221_760_215, 0) - .saturating_add(Weight::from_parts(0, 3856)) - // Standard Error: 16_481 - .saturating_add(Weight::from_parts(33_163_393, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `405 + c * (32 ±0)` + // Estimated: `3870 + c * (32 ±0)` + // Minimum execution time: 1_349_108_000 picoseconds. + Weight::from_parts(1_224_956_354, 0) + .saturating_add(Weight::from_parts(0, 3870)) + // Standard Error: 14_930 + .saturating_add(Weight::from_parts(33_204_477, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into())) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) - /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Round2Packages` (r:1 w:1) /// Proof: `GhostExodus::Round2Packages` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[1, 37]`. + /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) + /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `c` is `[1, 300]`. fn register_encrypted_round2_packages(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `317 + c * (257 ±0)` - // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 254_590_000 picoseconds. - Weight::from_parts(258_091_105, 0) - .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 25_082 - .saturating_add(Weight::from_parts(6_595_878, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 257).saturating_mul(c.into())) + // Measured: `332 + c * (32 ±0)` + // Estimated: `3797 + c * (32 ±0)` + // Minimum execution time: 245_305_000 picoseconds. + Weight::from_parts(253_863_353, 0) + .saturating_add(Weight::from_parts(0, 3797)) + // Standard Error: 3_527 + .saturating_add(Weight::from_parts(810_623, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into())) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) - /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Complaints` (r:1 w:1) /// Proof: `GhostExodus::Complaints` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[1, 37]`. + /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) + /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `c` is `[1, 300]`. fn register_round3_complaints(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `317 + c * (257 ±0)` - // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 240_888_000 picoseconds. - Weight::from_parts(245_480_975, 0) - .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 13_733 - .saturating_add(Weight::from_parts(371_161, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 257).saturating_mul(c.into())) + // Measured: `332 + c * (32 ±0)` + // Estimated: `3797 + c * (32 ±0)` + // Minimum execution time: 238_391_000 picoseconds. + Weight::from_parts(242_937_380, 0) + .saturating_add(Weight::from_parts(0, 3797)) + // Standard Error: 1_789 + .saturating_add(Weight::from_parts(39_316, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into())) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) - /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::Justifications` (r:1 w:1) /// Proof: `GhostExodus::Justifications` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[1, 37]`. + /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) + /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `c` is `[1, 300]`. fn register_round4_justifications(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `317 + c * (257 ±0)` - // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 251_521_000 picoseconds. - Weight::from_parts(253_053_636, 0) - .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 14_691 - .saturating_add(Weight::from_parts(4_101_872, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 257).saturating_mul(c.into())) + // Measured: `332 + c * (32 ±0)` + // Estimated: `3797 + c * (32 ±0)` + // Minimum execution time: 245_916_000 picoseconds. + Weight::from_parts(251_070_206, 0) + .saturating_add(Weight::from_parts(0, 3797)) + // Standard Error: 2_152 + .saturating_add(Weight::from_parts(508_508, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into())) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) - /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::Verifications` (r:1 w:1) - /// Proof: `GhostExodus::Verifications` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::VerifyingKeyConsensus` (r:1 w:1) /// Proof: `GhostExodus::VerifyingKeyConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn register_round5_verifying_package() -> Weight { - // Proof Size summary in bytes: - // Measured: `448` - // Estimated: `3913` - // Minimum execution time: 265_187_000 picoseconds. - Weight::from_parts(269_124_000, 0) - .saturating_add(Weight::from_parts(0, 3913)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(3)) - } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) - /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::Verifications` (r:1 w:1) + /// Proof: `GhostExodus::Verifications` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn register_round5_verifying_package() -> Weight { + // Proof Size summary in bytes: + // Measured: `462` + // Estimated: `3927` + // Minimum execution time: 271_654_000 picoseconds. + Weight::from_parts(286_394_000, 0) + .saturating_add(Weight::from_parts(0, 3927)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) + /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::VerifyingSharesParticipants` (r:1 w:1) + /// Proof: `GhostExodus::VerifyingSharesParticipants` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::QualificationAuthorities` (r:1 w:0) + /// Proof: `GhostExodus::QualificationAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::VerifyingKeyConsensus` (r:1 w:0) /// Proof: `GhostExodus::VerifyingKeyConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::VerifyingShares` (r:1 w:1) /// Proof: `GhostExodus::VerifyingShares` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::VerifyingSharesParticipants` (r:1 w:1) - /// Proof: `GhostExodus::VerifyingSharesParticipants` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[1, 9]`. fn register_round6_public_share_package(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + c * (770 ±0)` - // Estimated: `1551 + c * (1019 ±27)` - // Minimum execution time: 284_558_000 picoseconds. - Weight::from_parts(284_117_484, 0) - .saturating_add(Weight::from_parts(0, 1551)) - // Standard Error: 74_361 - .saturating_add(Weight::from_parts(3_551_271, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) + // Estimated: `1698 + c * (1019 ±27)` + // Minimum execution time: 283_863_000 picoseconds. + Weight::from_parts(286_691_978, 0) + .saturating_add(Weight::from_parts(0, 1698)) + // Standard Error: 85_685 + .saturating_add(Weight::from_parts(2_854_037, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1019).saturating_mul(c.into())) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ActiveDkgAuthorities` (r:1 w:0) /// Proof: `GhostExodus::ActiveDkgAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ActiveAuthorities` (r:1 w:0) - /// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ExodusRequests` (r:1 w:1) /// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::RoastSessions` (r:1 w:1) /// Proof: `GhostExodus::RoastSessions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::NonceCommitments` (r:1 w:1) + /// Proof: `GhostExodus::NonceCommitments` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::ActiveAuthorities` (r:1 w:0) + /// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::RoastSessionStates` (r:1 w:1) /// Proof: `GhostExodus::RoastSessionStates` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::NonceCommitments` (r:0 w:1) - /// Proof: `GhostExodus::NonceCommitments` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_nonce_commitment() -> Weight { // Proof Size summary in bytes: - // Measured: `627` - // Estimated: `4092` - // Minimum execution time: 315_066_000 picoseconds. - Weight::from_parts(318_561_000, 0) - .saturating_add(Weight::from_parts(0, 4092)) + // Measured: `633` + // Estimated: `4098` + // Minimum execution time: 369_666_000 picoseconds. + Weight::from_parts(373_163_000, 0) + .saturating_add(Weight::from_parts(0, 4098)) .saturating_add(T::DbWeight::get().reads(8)) - .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes(4)) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ActiveDkgAuthorities` (r:1 w:0) /// Proof: `GhostExodus::ActiveDkgAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ActiveAuthorities` (r:1 w:0) - /// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::RoastSessions` (r:1 w:0) /// Proof: `GhostExodus::RoastSessions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::RoastSessionStates` (r:1 w:1) + /// Proof: `GhostExodus::RoastSessionStates` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::ActiveAuthorities` (r:1 w:0) + /// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ExodusRequests` (r:1 w:0) /// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::GroupCommitters` (r:1 w:1) /// Proof: `GhostExodus::GroupCommitters` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::RoastSessionStates` (r:1 w:1) - /// Proof: `GhostExodus::RoastSessionStates` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::GroupCommitmentsConsensus` (r:1 w:1) /// Proof: `GhostExodus::GroupCommitmentsConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_group_commitment() -> Weight { // Proof Size summary in bytes: - // Measured: `992` - // Estimated: `4457` - // Minimum execution time: 338_644_000 picoseconds. - Weight::from_parts(343_954_000, 0) - .saturating_add(Weight::from_parts(0, 4457)) - .saturating_add(T::DbWeight::get().reads(10)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `1030` + // Estimated: `4495` + // Minimum execution time: 339_569_000 picoseconds. + Weight::from_parts(341_788_000, 0) + .saturating_add(Weight::from_parts(0, 4495)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `GhostNetworks::NetworkCurves` (r:1 w:0) - /// Proof: `GhostNetworks::NetworkCurves` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostNetworks::NetworkTypes` (r:1 w:0) + /// Proof: `GhostNetworks::NetworkTypes` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ActiveDkgAuthorities` (r:1 w:0) /// Proof: `GhostExodus::ActiveDkgAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ActiveAuthorities` (r:1 w:0) - /// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::RoastSessions` (r:1 w:1) /// Proof: `GhostExodus::RoastSessions` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::ExodusActivity` (r:1 w:1) - /// Proof: `GhostExodus::ExodusActivity` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::RoastSessionStates` (r:1 w:1) + /// Proof: `GhostExodus::RoastSessionStates` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::ActiveAuthorities` (r:1 w:0) + /// Proof: `GhostExodus::ActiveAuthorities` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::GroupCommitmentsConsensus` (r:1 w:1) /// Proof: `GhostExodus::GroupCommitmentsConsensus` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ExodusRequests` (r:1 w:1) /// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ExodusSignedGovernance` (r:1 w:1) /// Proof: `GhostExodus::ExodusSignedGovernance` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::RoastSessionStates` (r:1 w:1) - /// Proof: `GhostExodus::RoastSessionStates` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::NonceCommitments` (r:1 w:0) /// Proof: `GhostExodus::NonceCommitments` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::VerifyingShares` (r:1 w:0) @@ -306,13 +286,13 @@ impl ghost_exodus::WeightInfo for WeightInfo { /// Proof: `GhostExodus::GroupCommitters` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_signature_share() -> Weight { // Proof Size summary in bytes: - // Measured: `11299` - // Estimated: `14764` - // Minimum execution time: 3_968_938_000 picoseconds. - Weight::from_parts(3_975_088_000, 0) - .saturating_add(Weight::from_parts(0, 14764)) - .saturating_add(T::DbWeight::get().reads(15)) - .saturating_add(T::DbWeight::get().writes(9)) + // Measured: `11337` + // Estimated: `14802` + // Minimum execution time: 4_046_065_000 picoseconds. + Weight::from_parts(4_059_064_000, 0) + .saturating_add(Weight::from_parts(0, 14802)) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: `GhostExodus::CounterForExodusRequests` (r:1 w:1) /// Proof: `GhostExodus::CounterForExodusRequests` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -324,17 +304,17 @@ impl ghost_exodus::WeightInfo for WeightInfo { /// Proof: `GhostNetworks::NetworkImbalance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::QualificationDkgState` (r:1 w:0) /// Proof: `GhostExodus::QualificationDkgState` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostExodus::CurrentExodus` (r:1 w:1) - /// Proof: `GhostExodus::CurrentExodus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `GhostExodus::CurrentExodusSessions` (r:1 w:1) + /// Proof: `GhostExodus::CurrentExodusSessions` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `GhostExodus::ExodusRequests` (r:1 w:1) /// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_evm_bridge_out_exodus() -> Weight { // Proof Size summary in bytes: - // Measured: `448` - // Estimated: `3913` - // Minimum execution time: 191_374_000 picoseconds. - Weight::from_parts(192_991_000, 0) - .saturating_add(Weight::from_parts(0, 3913)) + // Measured: `457` + // Estimated: `3922` + // Minimum execution time: 195_417_000 picoseconds. + Weight::from_parts(196_842_000, 0) + .saturating_add(Weight::from_parts(0, 3922)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(5)) } diff --git a/runtime/casper/src/weights/ghost_governance.rs b/runtime/casper/src/weights/ghost_governance.rs index 0a37933..1cfbc78 100644 --- a/runtime/casper/src/weights/ghost_governance.rs +++ b/runtime/casper/src/weights/ghost_governance.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `ghost_governance` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2026-09-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-10-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 @@ -61,11 +61,11 @@ impl ghost_governance::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `283` // Estimated: `3748` - // Minimum execution time: 229_254_000 picoseconds. - Weight::from_parts(229_992_093, 0) + // Minimum execution time: 224_852_000 picoseconds. + Weight::from_parts(225_347_733, 0) .saturating_add(Weight::from_parts(0, 3748)) - // Standard Error: 25_680 - .saturating_add(Weight::from_parts(1_874_433, 0).saturating_mul(p.into())) + // Standard Error: 21_234 + .saturating_add(Weight::from_parts(1_581_800, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } diff --git a/runtime/casper/src/weights/ghost_weaver.rs b/runtime/casper/src/weights/ghost_weaver.rs index 5d809da..eee0710 100644 --- a/runtime/casper/src/weights/ghost_weaver.rs +++ b/runtime/casper/src/weights/ghost_weaver.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `ghost_weaver` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2026-09-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-10-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024 @@ -46,34 +46,40 @@ use core::marker::PhantomData; /// Weight functions for `ghost_weaver`. pub struct WeightInfo(PhantomData); impl ghost_weaver::WeightInfo for WeightInfo { - /// Storage: `GhostWeaver::DisabledAuthorities` (r:1 w:0) - /// Proof: `GhostWeaver::DisabledAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `GhostWeaver::Authorities` (r:1 w:0) /// Proof: `GhostWeaver::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `GhostWeaver::AttestedBlocks` (r:1 w:1) + /// Proof: `GhostWeaver::AttestedBlocks` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostWeaver::NetworkAttestations` (r:1 w:1) + /// Proof: `GhostWeaver::NetworkAttestations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostWeaver::DisabledAuthorities` (r:1 w:0) + /// Proof: `GhostWeaver::DisabledAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `GhostNetworks::Networks` (r:1 w:0) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostWeaver::TapestryDrafts` (r:1 w:0) /// Proof: `GhostWeaver::TapestryDrafts` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `GhostWeaver::NetworkAttestations` (r:1 w:1) - /// Proof: `GhostWeaver::NetworkAttestations` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `a` is `[1, 300]`. fn extend_warp(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `223 + a * (32 ±0)` - // Estimated: `3687 + a * (32 ±0)` - // Minimum execution time: 212_751_000 picoseconds. - Weight::from_parts(215_022_916, 0) - .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 1_319 - .saturating_add(Weight::from_parts(53_379, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(1)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) + // Measured: `274 + a * (33 ±0)` + // Estimated: `3736 + a * (33 ±0)` + // Minimum execution time: 229_711_000 picoseconds. + Weight::from_parts(235_206_680, 0) + .saturating_add(Weight::from_parts(0, 3736)) + // Standard Error: 1_554 + .saturating_add(Weight::from_parts(66_905, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(a.into())) } - /// Storage: `GhostWeaver::DisabledAuthorities` (r:1 w:0) - /// Proof: `GhostWeaver::DisabledAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `GhostWeaver::Authorities` (r:1 w:0) /// Proof: `GhostWeaver::Authorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `GhostWeaver::AttestedBlocks` (r:1 w:1) + /// Proof: `GhostWeaver::AttestedBlocks` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostWeaver::NetworkAttestations` (r:1 w:0) + /// Proof: `GhostWeaver::NetworkAttestations` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `GhostWeaver::DisabledAuthorities` (r:1 w:0) + /// Proof: `GhostWeaver::DisabledAuthorities` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `GhostNetworks::Networks` (r:1 w:0) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `GhostWeaver::TapestryDrafts` (r:1 w:0) @@ -85,16 +91,16 @@ impl ghost_weaver::WeightInfo for WeightInfo { /// The range of component `a` is `[1, 300]`. fn weave_weft(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `518 + a * (32 ±0)` - // Estimated: `3982 + a * (32 ±0)` - // Minimum execution time: 243_006_000 picoseconds. - Weight::from_parts(246_374_350, 0) - .saturating_add(Weight::from_parts(0, 3982)) - // Standard Error: 1_865 - .saturating_add(Weight::from_parts(38_601, 0).saturating_mul(a.into())) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(2)) - .saturating_add(Weight::from_parts(0, 32).saturating_mul(a.into())) + // Measured: `569 + a * (33 ±0)` + // Estimated: `4031 + a * (33 ±0)` + // Minimum execution time: 262_809_000 picoseconds. + Weight::from_parts(267_769_707, 0) + .saturating_add(Weight::from_parts(0, 4031)) + // Standard Error: 2_375 + .saturating_add(Weight::from_parts(39_109, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(Weight::from_parts(0, 33).saturating_mul(a.into())) } /// Storage: `GhostNetworks::Networks` (r:1 w:0) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -111,13 +117,13 @@ impl ghost_weaver::WeightInfo for WeightInfo { /// The range of component `a` is `[1, 144]`. fn pull_utxo_thread(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `449` - // Estimated: `3914` - // Minimum execution time: 217_880_000 picoseconds. - Weight::from_parts(217_119_201, 0) - .saturating_add(Weight::from_parts(0, 3914)) - // Standard Error: 5_460 - .saturating_add(Weight::from_parts(3_445_491, 0).saturating_mul(a.into())) + // Measured: `500` + // Estimated: `3965` + // Minimum execution time: 217_481_000 picoseconds. + Weight::from_parts(216_492_234, 0) + .saturating_add(Weight::from_parts(0, 3965)) + // Standard Error: 4_414 + .saturating_add(Weight::from_parts(3_376_569, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -135,11 +141,11 @@ impl ghost_weaver::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn pull_evm_thread() -> Weight { // Proof Size summary in bytes: - // Measured: `449` - // Estimated: `3914` - // Minimum execution time: 183_413_000 picoseconds. - Weight::from_parts(186_271_000, 0) - .saturating_add(Weight::from_parts(0, 3914)) + // Measured: `500` + // Estimated: `3965` + // Minimum execution time: 176_861_000 picoseconds. + Weight::from_parts(177_918_000, 0) + .saturating_add(Weight::from_parts(0, 3965)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) }