From 8d097990a7d60690916362a43257c21a9585c6bc Mon Sep 17 00:00:00 2001 From: Uncle Stretch Date: Thu, 10 Sep 2026 23:26:20 +0300 Subject: [PATCH] benchmark pallets based on new logic Signed-off-by: Uncle Stretch --- Cargo.lock | 10 +- pallets/exodus/Cargo.toml | 2 +- pallets/exodus/src/weights.rs | 68 ++++----- pallets/governance/Cargo.toml | 2 +- pallets/governance/src/weights.rs | 10 +- pallets/networks/Cargo.toml | 2 +- pallets/networks/src/weights.rs | 137 +++++++++-------- pallets/weaver/Cargo.toml | 2 +- pallets/weaver/src/benchmarking.rs | 1 - pallets/weaver/src/weights.rs | 40 ++--- runtime/casper/Cargo.toml | 2 +- runtime/casper/src/weights/ghost_exodus.rs | 72 ++++----- .../casper/src/weights/ghost_governance.rs | 10 +- runtime/casper/src/weights/ghost_networks.rs | 144 ++++++++++-------- runtime/casper/src/weights/ghost_weaver.rs | 42 ++--- 15 files changed, 283 insertions(+), 261 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bdd51f0..a6f2923 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1195,7 +1195,7 @@ dependencies = [ [[package]] name = "casper-runtime" -version = "4.0.6" +version = "4.0.8" dependencies = [ "casper-runtime-constants", "frame-benchmarking", @@ -3684,7 +3684,7 @@ dependencies = [ [[package]] name = "ghost-exodus" -version = "0.0.9" +version = "0.0.10" dependencies = [ "chacha20poly1305", "frame-benchmarking", @@ -3733,7 +3733,7 @@ dependencies = [ [[package]] name = "ghost-governance" -version = "0.3.6" +version = "0.3.7" dependencies = [ "frame-benchmarking", "frame-support", @@ -3839,7 +3839,7 @@ dependencies = [ [[package]] name = "ghost-networks" -version = "0.2.9" +version = "0.2.10" dependencies = [ "frame-benchmarking", "frame-support", @@ -4109,7 +4109,7 @@ dependencies = [ [[package]] name = "ghost-weaver" -version = "0.0.7" +version = "0.0.8" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/pallets/exodus/Cargo.toml b/pallets/exodus/Cargo.toml index 749929c..98bc84a 100644 --- a/pallets/exodus/Cargo.toml +++ b/pallets/exodus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-exodus" -version = "0.0.9" +version = "0.0.10" 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 68ab524..cde4890 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-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-09-10, 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 @@ -77,8 +77,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3816` - // Minimum execution time: 239_348_000 picoseconds. - Weight::from_parts(241_125_000, 0) + // Minimum execution time: 239_012_000 picoseconds. + Weight::from_parts(241_388_000, 0) .saturating_add(Weight::from_parts(0, 3816)) .saturating_add(RocksDbWeight::get().reads(4)) .saturating_add(RocksDbWeight::get().writes(3)) @@ -100,11 +100,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `391 + c * (32 ±0)` // Estimated: `3856 + c * (32 ±0)` - // Minimum execution time: 1_372_279_000 picoseconds. - Weight::from_parts(1_268_130_469, 0) + // Minimum execution time: 1_339_828_000 picoseconds. + Weight::from_parts(1_212_625_790, 0) .saturating_add(Weight::from_parts(0, 3856)) - // Standard Error: 17_178 - .saturating_add(Weight::from_parts(32_976_202, 0).saturating_mul(c.into())) + // Standard Error: 11_831 + .saturating_add(Weight::from_parts(33_120_868, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6)) .saturating_add(RocksDbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 32).saturating_mul(c.into())) @@ -124,11 +124,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `317 + c * (257 ±0)` // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 253_301_000 picoseconds. - Weight::from_parts(255_449_282, 0) + // Minimum execution time: 251_478_000 picoseconds. + Weight::from_parts(254_144_621, 0) .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 25_029 - .saturating_add(Weight::from_parts(6_615_251, 0).saturating_mul(c.into())) + // Standard Error: 24_613 + .saturating_add(Weight::from_parts(6_595_819, 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())) @@ -148,11 +148,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `317 + c * (257 ±0)` // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 238_882_000 picoseconds. - Weight::from_parts(242_930_556, 0) + // Minimum execution time: 236_155_000 picoseconds. + Weight::from_parts(242_055_948, 0) .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 13_070 - .saturating_add(Weight::from_parts(426_492, 0).saturating_mul(c.into())) + // Standard Error: 15_623 + .saturating_add(Weight::from_parts(360_411, 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())) @@ -172,11 +172,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `317 + c * (257 ±0)` // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 250_894_000 picoseconds. - Weight::from_parts(252_272_982, 0) + // Minimum execution time: 249_507_000 picoseconds. + Weight::from_parts(248_505_595, 0) .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 17_703 - .saturating_add(Weight::from_parts(4_110_522, 0).saturating_mul(c.into())) + // Standard Error: 20_302 + .saturating_add(Weight::from_parts(4_191_526, 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())) @@ -197,8 +197,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `448` // Estimated: `3913` - // Minimum execution time: 265_392_000 picoseconds. - Weight::from_parts(268_799_000, 0) + // Minimum execution time: 264_214_000 picoseconds. + Weight::from_parts(266_905_000, 0) .saturating_add(Weight::from_parts(0, 3913)) .saturating_add(RocksDbWeight::get().reads(6)) .saturating_add(RocksDbWeight::get().writes(3)) @@ -222,11 +222,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + c * (770 ±0)` // Estimated: `1551 + c * (1019 ±27)` - // Minimum execution time: 282_654_000 picoseconds. - Weight::from_parts(286_257_905, 0) + // Minimum execution time: 281_073_000 picoseconds. + Weight::from_parts(280_778_987, 0) .saturating_add(Weight::from_parts(0, 1551)) // Standard Error: 92_951 - .saturating_add(Weight::from_parts(2_838_516, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(3_489_552, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7)) .saturating_add(RocksDbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1019).saturating_mul(c.into())) @@ -253,8 +253,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `588` // Estimated: `4053` - // Minimum execution time: 296_169_000 picoseconds. - Weight::from_parts(298_267_000, 0) + // Minimum execution time: 291_972_000 picoseconds. + Weight::from_parts(295_122_000, 0) .saturating_add(Weight::from_parts(0, 4053)) .saturating_add(RocksDbWeight::get().reads(8)) .saturating_add(RocksDbWeight::get().writes(5)) @@ -283,8 +283,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `968` // Estimated: `4433` - // Minimum execution time: 332_972_000 picoseconds. - Weight::from_parts(336_569_000, 0) + // Minimum execution time: 331_528_000 picoseconds. + Weight::from_parts(333_974_000, 0) .saturating_add(Weight::from_parts(0, 4433)) .saturating_add(RocksDbWeight::get().reads(10)) .saturating_add(RocksDbWeight::get().writes(4)) @@ -324,7 +324,7 @@ impl WeightInfo for () { // Measured: `11259` // Estimated: `14724` // Minimum execution time: 3_842_259_000 picoseconds. - Weight::from_parts(3_853_670_000, 0) + Weight::from_parts(3_985_167_000, 0) .saturating_add(Weight::from_parts(0, 14724)) .saturating_add(RocksDbWeight::get().reads(14)) .saturating_add(RocksDbWeight::get().writes(8)) @@ -343,11 +343,11 @@ impl WeightInfo for () { /// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_evm_bridge_out_exodus() -> Weight { // Proof Size summary in bytes: - // Measured: `447` - // Estimated: `3912` - // Minimum execution time: 138_303_000 picoseconds. - Weight::from_parts(139_968_000, 0) - .saturating_add(Weight::from_parts(0, 3912)) + // Measured: `448` + // Estimated: `3913` + // Minimum execution time: 137_053_000 picoseconds. + Weight::from_parts(138_693_000, 0) + .saturating_add(Weight::from_parts(0, 3913)) .saturating_add(RocksDbWeight::get().reads(5)) .saturating_add(RocksDbWeight::get().writes(4)) } diff --git a/pallets/governance/Cargo.toml b/pallets/governance/Cargo.toml index e7ee233..9df2720 100644 --- a/pallets/governance/Cargo.toml +++ b/pallets/governance/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-governance" -version = "0.3.6" +version = "0.3.7" 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 ec647c6..1409803 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-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-09-10, 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 @@ -65,11 +65,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `283` // Estimated: `3748` - // Minimum execution time: 216_605_000 picoseconds. - Weight::from_parts(217_612_486, 0) + // Minimum execution time: 214_208_000 picoseconds. + Weight::from_parts(216_987_870, 0) .saturating_add(Weight::from_parts(0, 3748)) - // Standard Error: 23_409 - .saturating_add(Weight::from_parts(1_544_250, 0).saturating_mul(p.into())) + // Standard Error: 30_856 + .saturating_add(Weight::from_parts(1_702_104, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(4)) .saturating_add(RocksDbWeight::get().writes(4)) } diff --git a/pallets/networks/Cargo.toml b/pallets/networks/Cargo.toml index fb1f5e4..c1c186d 100644 --- a/pallets/networks/Cargo.toml +++ b/pallets/networks/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-networks" -version = "0.2.9" +version = "0.2.10" description = "Registry and lifecycle management for external network metadata and cryptographic profiles." license.workspace = true authors.workspace = true diff --git a/pallets/networks/src/weights.rs b/pallets/networks/src/weights.rs index a2177b2..14f9164 100644 --- a/pallets/networks/src/weights.rs +++ b/pallets/networks/src/weights.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `ghost_networks` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2026-09-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-09-10, 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 @@ -80,15 +80,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `6` // Estimated: `3471` - // Minimum execution time: 60_167_000 picoseconds. - Weight::from_parts(56_015_384, 0) + // Minimum execution time: 57_039_000 picoseconds. + Weight::from_parts(53_368_140, 0) .saturating_add(Weight::from_parts(0, 3471)) - // Standard Error: 1_219 - .saturating_add(Weight::from_parts(6_146, 0).saturating_mul(i.into())) - // Standard Error: 617 - .saturating_add(Weight::from_parts(37_564, 0).saturating_mul(j.into())) - // Standard Error: 8_216 - .saturating_add(Weight::from_parts(864_641, 0).saturating_mul(k.into())) + // Standard Error: 874 + .saturating_add(Weight::from_parts(8_884, 0).saturating_mul(i.into())) + // Standard Error: 442 + .saturating_add(Weight::from_parts(32_778, 0).saturating_mul(j.into())) + // Standard Error: 5_890 + .saturating_add(Weight::from_parts(833_630, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(4)) .saturating_add(RocksDbWeight::get().writes(4)) } @@ -96,11 +96,11 @@ impl WeightInfo for () { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_selector() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 43_957_000 picoseconds. - Weight::from_parts(44_541_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 42_680_000 picoseconds. + Weight::from_parts(43_454_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -111,11 +111,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 44_092_000 picoseconds. - Weight::from_parts(45_181_439, 0) - .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 402 - .saturating_add(Weight::from_parts(16_387, 0).saturating_mul(n.into())) + // Minimum execution time: 42_265_000 picoseconds. + Weight::from_parts(43_357_887, 0) + .saturating_add(Weight::from_parts(0, 3632)) + // Standard Error: 457 + .saturating_add(Weight::from_parts(13_745, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -125,9 +125,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 45_603_000 picoseconds. - Weight::from_parts(46_116_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Minimum execution time: 43_008_000 picoseconds. + Weight::from_parts(43_917_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -135,11 +135,11 @@ impl WeightInfo for () { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_rate_limit_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 45_607_000 picoseconds. - Weight::from_parts(46_615_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 43_104_000 picoseconds. + Weight::from_parts(43_981_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -147,11 +147,11 @@ impl WeightInfo for () { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_block_deviation() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 43_510_000 picoseconds. - Weight::from_parts(43_840_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 41_734_000 picoseconds. + Weight::from_parts(42_645_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -159,11 +159,11 @@ impl WeightInfo for () { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_type() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 43_737_000 picoseconds. - Weight::from_parts(44_347_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 42_080_000 picoseconds. + Weight::from_parts(42_404_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -175,24 +175,35 @@ impl WeightInfo for () { /// Proof: `GhostNetworks::NetworkCurvesVec` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_network_curve() -> Weight { // Proof Size summary in bytes: - // Measured: `179` - // Estimated: `6119` - // Minimum execution time: 85_784_000 picoseconds. - Weight::from_parts(86_768_000, 0) - .saturating_add(Weight::from_parts(0, 6119)) + // Measured: `180` + // Estimated: `6120` + // Minimum execution time: 82_975_000 picoseconds. + Weight::from_parts(84_583_000, 0) + .saturating_add(Weight::from_parts(0, 6120)) .saturating_add(RocksDbWeight::get().reads(4)) .saturating_add(RocksDbWeight::get().writes(4)) } - fn update_network_decimals() -> Weight { Default::default() } + /// Storage: `GhostNetworks::Networks` (r:1 w:1) + /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn update_network_decimals() -> Weight { + // Proof Size summary in bytes: + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 41_602_000 picoseconds + Weight::from_parts(42_603_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) + .saturating_add(RocksDbWeight::get().reads(1)) + .saturating_add(RocksDbWeight::get().writes(1)) + } /// Storage: `GhostNetworks::Networks` (r:1 w:1) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_gatekeeper() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 44_801_000 picoseconds. - Weight::from_parts(45_240_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 42_643_000 picoseconds. + Weight::from_parts(43_190_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -200,11 +211,11 @@ impl WeightInfo for () { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_incoming_network_share() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 45_404_000 picoseconds. - Weight::from_parts(46_161_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 42_978_000 picoseconds. + Weight::from_parts(43_002_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -212,11 +223,11 @@ impl WeightInfo for () { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_outgoing_network_share() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 45_476_000 picoseconds. - Weight::from_parts(46_312_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 43_436_000 picoseconds. + Weight::from_parts(44_193_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(RocksDbWeight::get().reads(1)) .saturating_add(RocksDbWeight::get().writes(1)) } @@ -230,11 +241,11 @@ impl WeightInfo for () { /// Proof: `GhostNetworks::NetworkCurvesVec` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_network() -> Weight { // Proof Size summary in bytes: - // Measured: `179` - // Estimated: `3644` - // Minimum execution time: 78_480_000 picoseconds. - Weight::from_parts(79_105_000, 0) - .saturating_add(Weight::from_parts(0, 3644)) + // Measured: `180` + // Estimated: `3645` + // Minimum execution time: 75_969_000 picoseconds. + Weight::from_parts(77_610_000, 0) + .saturating_add(Weight::from_parts(0, 3645)) .saturating_add(RocksDbWeight::get().reads(4)) .saturating_add(RocksDbWeight::get().writes(4)) } diff --git a/pallets/weaver/Cargo.toml b/pallets/weaver/Cargo.toml index e492996..d3ec3a0 100644 --- a/pallets/weaver/Cargo.toml +++ b/pallets/weaver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-weaver" -version = "0.0.7" +version = "0.0.8" description = "Weaving a secure cryptographic tapestry across different external chains." license.workspace = true authors.workspace = true diff --git a/pallets/weaver/src/benchmarking.rs b/pallets/weaver/src/benchmarking.rs index 06119c2..8e6d1f7 100644 --- a/pallets/weaver/src/benchmarking.rs +++ b/pallets/weaver/src/benchmarking.rs @@ -319,7 +319,6 @@ mod benchmarks { let pulled_thread_key = thread_proof.get_unique_key(session); assert!(!PulledThreads::::contains_key(&pulled_thread_key)); - println!("RUNNING {max_history_depth}"); #[extrinsic_call] pull_thread(RawOrigin::None, network_id, session, thread_proof); diff --git a/pallets/weaver/src/weights.rs b/pallets/weaver/src/weights.rs index a016a68..81ee28e 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-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-09-10, 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 @@ -69,11 +69,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `223 + a * (32 ±0)` // Estimated: `3687 + a * (32 ±0)` - // Minimum execution time: 209_842_000 picoseconds. - Weight::from_parts(214_884_530, 0) + // Minimum execution time: 210_105_000 picoseconds. + Weight::from_parts(214_589_101, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 1_520 - .saturating_add(Weight::from_parts(45_535, 0).saturating_mul(a.into())) + // Standard Error: 1_420 + .saturating_add(Weight::from_parts(50_124, 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())) @@ -95,11 +95,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518 + a * (32 ±0)` // Estimated: `3982 + a * (32 ±0)` - // Minimum execution time: 241_362_000 picoseconds. - Weight::from_parts(244_695_658, 0) + // Minimum execution time: 241_676_000 picoseconds. + Weight::from_parts(246_243_389, 0) .saturating_add(Weight::from_parts(0, 3982)) - // Standard Error: 1_644 - .saturating_add(Weight::from_parts(30_947, 0).saturating_mul(a.into())) + // Standard Error: 1_686 + .saturating_add(Weight::from_parts(32_125, 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())) @@ -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: `358` - // Estimated: `3823` - // Minimum execution time: 174_434_000 picoseconds. - Weight::from_parts(173_218_259, 0) - // Standard Error: 4_108 - .saturating_add(Weight::from_parts(3_390_809, 0).saturating_mul(a.into())) + // Measured: `346` + // Estimated: `3811` + // Minimum execution time: 170_554_000 picoseconds. + Weight::from_parts(170_660_694, 0) + // Standard Error: 4_207 + .saturating_add(Weight::from_parts(3_450_120, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(6)) .saturating_add(RocksDbWeight::get().writes(3)) } @@ -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: `358` - // Estimated: `3823` - // Minimum execution time: 131_682_000 picoseconds. - Weight::from_parts(132_731_000, 0) - .saturating_add(Weight::from_parts(0, 3823)) + // Measured: `3446` + // Estimated: `3811` + // Minimum execution time: 136_258_000 picoseconds. + Weight::from_parts(137_856_000, 0) + .saturating_add(Weight::from_parts(0, 3811)) .saturating_add(RocksDbWeight::get().reads(6)) .saturating_add(RocksDbWeight::get().writes(3)) } diff --git a/runtime/casper/Cargo.toml b/runtime/casper/Cargo.toml index 9c41346..55d9276 100644 --- a/runtime/casper/Cargo.toml +++ b/runtime/casper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "casper-runtime" -version = "4.0.7" +version = "4.0.8" 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 f6ec4a8..2a5a599 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-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-09-10, 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 @@ -60,8 +60,8 @@ impl ghost_exodus::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `351` // Estimated: `3816` - // Minimum execution time: 239_348_000 picoseconds. - Weight::from_parts(241_125_000, 0) + // Minimum execution time: 239_012_000 picoseconds. + Weight::from_parts(241_388_000, 0) .saturating_add(Weight::from_parts(0, 3816)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) @@ -83,11 +83,11 @@ impl ghost_exodus::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `391 + c * (32 ±0)` // Estimated: `3856 + c * (32 ±0)` - // Minimum execution time: 1_372_279_000 picoseconds. - Weight::from_parts(1_268_130_469, 0) + // Minimum execution time: 1_339_828_000 picoseconds. + Weight::from_parts(1_212_625_790, 0) .saturating_add(Weight::from_parts(0, 3856)) - // Standard Error: 17_178 - .saturating_add(Weight::from_parts(32_976_202, 0).saturating_mul(c.into())) + // Standard Error: 11_831 + .saturating_add(Weight::from_parts(33_120_868, 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, 32).saturating_mul(c.into())) @@ -107,11 +107,11 @@ impl ghost_exodus::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `317 + c * (257 ±0)` // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 253_301_000 picoseconds. - Weight::from_parts(255_449_282, 0) + // Minimum execution time: 251_478_000 picoseconds. + Weight::from_parts(254_144_621, 0) .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 25_029 - .saturating_add(Weight::from_parts(6_615_251, 0).saturating_mul(c.into())) + // Standard Error: 24_613 + .saturating_add(Weight::from_parts(6_595_819, 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())) @@ -131,11 +131,11 @@ impl ghost_exodus::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `317 + c * (257 ±0)` // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 238_882_000 picoseconds. - Weight::from_parts(242_930_556, 0) + // Minimum execution time: 236_155_000 picoseconds. + Weight::from_parts(242_055_898, 0) .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 13_070 - .saturating_add(Weight::from_parts(426_492, 0).saturating_mul(c.into())) + // Standard Error: 15_623 + .saturating_add(Weight::from_parts(360_411, 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())) @@ -155,11 +155,11 @@ impl ghost_exodus::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `317 + c * (257 ±0)` // Estimated: `3783 + c * (257 ±0)` - // Minimum execution time: 250_894_000 picoseconds. - Weight::from_parts(252_272_982, 0) + // Minimum execution time: 249_507_000 picoseconds. + Weight::from_parts(248_505_595, 0) .saturating_add(Weight::from_parts(0, 3783)) - // Standard Error: 17_703 - .saturating_add(Weight::from_parts(4_110_522, 0).saturating_mul(c.into())) + // Standard Error: 20_302 + .saturating_add(Weight::from_parts(4_191_526, 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())) @@ -180,8 +180,8 @@ impl ghost_exodus::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `448` // Estimated: `3913` - // Minimum execution time: 265_392_000 picoseconds. - Weight::from_parts(268_799_000, 0) + // Minimum execution time: 264_214_000 picoseconds. + Weight::from_parts(266_905_000, 0) .saturating_add(Weight::from_parts(0, 3913)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) @@ -205,11 +205,11 @@ impl ghost_exodus::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0 + c * (770 ±0)` // Estimated: `1551 + c * (1019 ±27)` - // Minimum execution time: 282_654_000 picoseconds. - Weight::from_parts(286_257_905, 0) + // Minimum execution time: 281_073_000 picoseconds. + Weight::from_parts(280_778_987, 0) .saturating_add(Weight::from_parts(0, 1551)) - // Standard Error: 92_951 - .saturating_add(Weight::from_parts(2_838_516, 0).saturating_mul(c.into())) + // Standard Error: 79_426 + .saturating_add(Weight::from_parts(3_449_552, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(Weight::from_parts(0, 1019).saturating_mul(c.into())) @@ -236,8 +236,8 @@ impl ghost_exodus::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `588` // Estimated: `4053` - // Minimum execution time: 296_169_000 picoseconds. - Weight::from_parts(298_267_000, 0) + // Minimum execution time: 291_972_000 picoseconds. + Weight::from_parts(295_122_000, 0) .saturating_add(Weight::from_parts(0, 4053)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) @@ -266,8 +266,8 @@ impl ghost_exodus::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `968` // Estimated: `4433` - // Minimum execution time: 332_972_000 picoseconds. - Weight::from_parts(336_569_000, 0) + // Minimum execution time: 331_528_000 picoseconds. + Weight::from_parts(333_974_000, 0) .saturating_add(Weight::from_parts(0, 4433)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(4)) @@ -306,8 +306,8 @@ impl ghost_exodus::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `11259` // Estimated: `14724` - // Minimum execution time: 3_842_259_000 picoseconds. - Weight::from_parts(3_853_670_000, 0) + // Minimum execution time: 3_980_585_000 picoseconds. + Weight::from_parts(3_985_167_000, 0) .saturating_add(Weight::from_parts(0, 14724)) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().writes(8)) @@ -326,11 +326,11 @@ impl ghost_exodus::WeightInfo for WeightInfo { /// Proof: `GhostExodus::ExodusRequests` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_evm_bridge_out_exodus() -> Weight { // Proof Size summary in bytes: - // Measured: `447` - // Estimated: `3912` - // Minimum execution time: 138_303_000 picoseconds. - Weight::from_parts(139_968_000, 0) - .saturating_add(Weight::from_parts(0, 3912)) + // Measured: `448` + // Estimated: `3913` + // Minimum execution time: 137_053_000 picoseconds. + Weight::from_parts(138_693_000, 0) + .saturating_add(Weight::from_parts(0, 3913)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/casper/src/weights/ghost_governance.rs b/runtime/casper/src/weights/ghost_governance.rs index 47c377f..ed31cc9 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-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-09-10, 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 @@ -59,11 +59,11 @@ impl ghost_governance::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `283` // Estimated: `3748` - // Minimum execution time: 216_605_000 picoseconds. - Weight::from_parts(217_612_486, 0) + // Minimum execution time: 214_208_000 picoseconds. + Weight::from_parts(216_987_870, 0) .saturating_add(Weight::from_parts(0, 3748)) - // Standard Error: 23_409 - .saturating_add(Weight::from_parts(1_544_250, 0).saturating_mul(p.into())) + // Standard Error: 30_856 + .saturating_add(Weight::from_parts(1_702_104, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/casper/src/weights/ghost_networks.rs b/runtime/casper/src/weights/ghost_networks.rs index b1af158..0ea89ca 100644 --- a/runtime/casper/src/weights/ghost_networks.rs +++ b/runtime/casper/src/weights/ghost_networks.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `ghost_networks` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2026-09-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-09-10, 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,15 +61,15 @@ impl ghost_networks::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6` // Estimated: `3471` - // Minimum execution time: 60_167_000 picoseconds. - Weight::from_parts(56_015_384, 0) + // Minimum execution time: 57_039_000 picoseconds. + Weight::from_parts(53_368_140, 0) .saturating_add(Weight::from_parts(0, 3471)) - // Standard Error: 1_219 - .saturating_add(Weight::from_parts(6_146, 0).saturating_mul(i.into())) - // Standard Error: 617 - .saturating_add(Weight::from_parts(37_564, 0).saturating_mul(j.into())) - // Standard Error: 8_216 - .saturating_add(Weight::from_parts(864_641, 0).saturating_mul(k.into())) + // Standard Error: 874 + .saturating_add(Weight::from_parts(8_884, 0).saturating_mul(i.into())) + // Standard Error: 442 + .saturating_add(Weight::from_parts(32_778, 0).saturating_mul(j.into())) + // Standard Error: 5_890 + .saturating_add(Weight::from_parts(833_630, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -77,11 +77,11 @@ impl ghost_networks::WeightInfo for WeightInfo { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_selector() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 43_957_000 picoseconds. - Weight::from_parts(44_541_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 42_680_000 picoseconds. + Weight::from_parts(43_454_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -90,13 +90,13 @@ impl ghost_networks::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 128]`. fn update_network_endpoint(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 44_092_000 picoseconds. - Weight::from_parts(45_181_439, 0) - .saturating_add(Weight::from_parts(0, 3631)) - // Standard Error: 402 - .saturating_add(Weight::from_parts(16_387, 0).saturating_mul(n.into())) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 42_265_000 picoseconds. + Weight::from_parts(43_357_887, 0) + .saturating_add(Weight::from_parts(0, 3632)) + // Standard Error: 457 + .saturating_add(Weight::from_parts(13_745, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,11 +104,11 @@ impl ghost_networks::WeightInfo for WeightInfo { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_finality_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 45_603_000 picoseconds. - Weight::from_parts(46_116_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 43_008_000 picoseconds. + Weight::from_parts(43_917_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -116,11 +116,11 @@ impl ghost_networks::WeightInfo for WeightInfo { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_rate_limit_delay() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 45_607_000 picoseconds. - Weight::from_parts(46_615_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 43_104_000 picoseconds. + Weight::from_parts(43_981_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -128,11 +128,11 @@ impl ghost_networks::WeightInfo for WeightInfo { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_block_deviation() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 43_510_000 picoseconds. - Weight::from_parts(43_840_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 41_734_000 picoseconds. + Weight::from_parts(42_645_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -140,11 +140,11 @@ impl ghost_networks::WeightInfo for WeightInfo { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_type() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 43_737_000 picoseconds. - Weight::from_parts(44_347_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 42_080_000 picoseconds. + Weight::from_parts(42_404_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -156,23 +156,35 @@ impl ghost_networks::WeightInfo for WeightInfo { /// Proof: `GhostNetworks::NetworkCurvesVec` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn update_network_curve() -> Weight { // Proof Size summary in bytes: - // Measured: `179` - // Estimated: `6119` - // Minimum execution time: 85_784_000 picoseconds. - Weight::from_parts(86_768_000, 0) - .saturating_add(Weight::from_parts(0, 6119)) + // Measured: `180` + // Estimated: `6120` + // Minimum execution time: 82_975_000 picoseconds. + Weight::from_parts(84_583_000, 0) + .saturating_add(Weight::from_parts(0, 6120)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `GhostNetworks::Networks` (r:1 w:1) /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn update_network_decimals() -> Weight { + // Proof Size summary in bytes: + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 41_602_000 picoseconds. + Weight::from_parts(42_603_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `GhostNetworks::Networks` (r:1 w:1) + /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_network_gatekeeper() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 44_801_000 picoseconds. - Weight::from_parts(45_240_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 42_643_000 picoseconds. + Weight::from_parts(43_190_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -180,11 +192,11 @@ impl ghost_networks::WeightInfo for WeightInfo { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_incoming_network_share() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 45_404_000 picoseconds. - Weight::from_parts(46_161_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 42_978_000 picoseconds. + Weight::from_parts(44_002_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -192,11 +204,11 @@ impl ghost_networks::WeightInfo for WeightInfo { /// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_outgoing_network_share() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `3631` - // Minimum execution time: 45_476_000 picoseconds. - Weight::from_parts(46_312_000, 0) - .saturating_add(Weight::from_parts(0, 3631)) + // Measured: `167` + // Estimated: `3632` + // Minimum execution time: 43_436_000 picoseconds. + Weight::from_parts(44_193_000, 0) + .saturating_add(Weight::from_parts(0, 3632)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -210,11 +222,11 @@ impl ghost_networks::WeightInfo for WeightInfo { /// Proof: `GhostNetworks::NetworkCurvesVec` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn remove_network() -> Weight { // Proof Size summary in bytes: - // Measured: `179` - // Estimated: `3644` - // Minimum execution time: 78_480_000 picoseconds. - Weight::from_parts(79_105_000, 0) - .saturating_add(Weight::from_parts(0, 3644)) + // Measured: `180` + // Estimated: `3645` + // Minimum execution time: 75_969_000 picoseconds. + Weight::from_parts(77_610_000, 0) + .saturating_add(Weight::from_parts(0, 3645)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/casper/src/weights/ghost_weaver.rs b/runtime/casper/src/weights/ghost_weaver.rs index 4a62b26..b50a494 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-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-09-10, 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_weaver::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `223 + a * (32 ±0)` // Estimated: `3687 + a * (32 ±0)` - // Minimum execution time: 209_842_000 picoseconds. - Weight::from_parts(214_884_530, 0) + // Minimum execution time: 210_105_000 picoseconds. + Weight::from_parts(214_589_101, 0) .saturating_add(Weight::from_parts(0, 3687)) - // Standard Error: 1_520 - .saturating_add(Weight::from_parts(45_535, 0).saturating_mul(a.into())) + // Standard Error: 1_420 + .saturating_add(Weight::from_parts(50_124, 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())) @@ -87,11 +87,11 @@ impl ghost_weaver::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `518 + a * (32 ±0)` // Estimated: `3982 + a * (32 ±0)` - // Minimum execution time: 241_362_000 picoseconds. - Weight::from_parts(244_695_658, 0) + // Minimum execution time: 241_676_000 picoseconds. + Weight::from_parts(246_243_389, 0) .saturating_add(Weight::from_parts(0, 3982)) - // Standard Error: 1_644 - .saturating_add(Weight::from_parts(30_947, 0).saturating_mul(a.into())) + // Standard Error: 1_686 + .saturating_add(Weight::from_parts(32_125, 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())) @@ -111,13 +111,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: `358` - // Estimated: `3823` - // Minimum execution time: 174_434_000 picoseconds. - Weight::from_parts(173_218_259, 0) - .saturating_add(Weight::from_parts(0, 3823)) - // Standard Error: 4_108 - .saturating_add(Weight::from_parts(3_390_809, 0).saturating_mul(a.into())) + // Measured: `346` + // Estimated: `3811` + // Minimum execution time: 170_554_000 picoseconds. + Weight::from_parts(170_660_694, 0) + .saturating_add(Weight::from_parts(0, 3811)) + // Standard Error: 4_207 + .saturating_add(Weight::from_parts(3_450_120, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -135,11 +135,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: `358` - // Estimated: `3823` - // Minimum execution time: 131_682_000 picoseconds. - Weight::from_parts(132_731_000, 0) - .saturating_add(Weight::from_parts(0, 3823)) + // Measured: `346` + // Estimated: `3811` + // Minimum execution time: 136_258_000 picoseconds. + Weight::from_parts(137_856_000, 0) + .saturating_add(Weight::from_parts(0, 3811)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(3)) }