forked from ghostchain/ghost-node
		
	update weights for the ghost-networks on the casper runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
		
							parent
							
								
									671196ebac
								
							
						
					
					
						commit
						a503295939
					
				@ -1,6 +1,6 @@
 | 
				
			|||||||
[package]
 | 
					[package]
 | 
				
			||||||
name = "casper-runtime"
 | 
					name = "casper-runtime"
 | 
				
			||||||
version = "3.5.23"
 | 
					version = "3.5.24"
 | 
				
			||||||
build = "build.rs"
 | 
					build = "build.rs"
 | 
				
			||||||
description = "Runtime of the Casper Network"
 | 
					description = "Runtime of the Casper Network"
 | 
				
			||||||
edition.workspace = true
 | 
					edition.workspace = true
 | 
				
			||||||
 | 
				
			|||||||
@ -7,7 +7,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// Ghost Network is distributed in the hope that it will be useful,
 | 
					// Ghost Network is distributed in the hope that it will be useful,
 | 
				
			||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
					// but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
				
			||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
					// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 | 
				
			||||||
// GNU General Public License for more details.
 | 
					// GNU General Public License for more details.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// You should have received a copy of the GNU General Public License
 | 
					// You should have received a copy of the GNU General Public License
 | 
				
			||||||
@ -16,7 +16,7 @@
 | 
				
			|||||||
//! Autogenerated weights for `ghost_networks`
 | 
					//! Autogenerated weights for `ghost_networks`
 | 
				
			||||||
//!
 | 
					//!
 | 
				
			||||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
 | 
					//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
 | 
				
			||||||
//! DATE: 2024-08-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
 | 
					//! DATE: 2025-06-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
 | 
				
			||||||
//! WORST CASE MAP SIZE: `1000000`
 | 
					//! WORST CASE MAP SIZE: `1000000`
 | 
				
			||||||
//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
 | 
					//! HOSTNAME: `ghostown`, CPU: `Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz`
 | 
				
			||||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
 | 
					//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("casper-dev")`, DB CACHE: 1024
 | 
				
			||||||
@ -54,13 +54,13 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
 | 
				
			|||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `109`
 | 
							//  Measured:  `109`
 | 
				
			||||||
		//  Estimated: `3574`
 | 
							//  Estimated: `3574`
 | 
				
			||||||
		// Minimum execution time: 44_464_000 picoseconds.
 | 
							// Minimum execution time: 43_624_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(44_802_179, 0)
 | 
							Weight::from_parts(44_945_690, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3574))
 | 
								.saturating_add(Weight::from_parts(0, 3574))
 | 
				
			||||||
			// Standard Error: 11_381
 | 
								// Standard Error: 3_439
 | 
				
			||||||
			.saturating_add(Weight::from_parts(42_872, 0).saturating_mul(i.into()))
 | 
								.saturating_add(Weight::from_parts(15_557, 0).saturating_mul(i.into()))
 | 
				
			||||||
			// Standard Error: 1_492
 | 
								// Standard Error: 450
 | 
				
			||||||
			.saturating_add(Weight::from_parts(8_794, 0).saturating_mul(j.into()))
 | 
								.saturating_add(Weight::from_parts(3_508, 0).saturating_mul(j.into()))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -69,11 +69,11 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
 | 
				
			|||||||
	/// The range of component `n` is `[1, 20]`.
 | 
						/// The range of component `n` is `[1, 20]`.
 | 
				
			||||||
	fn update_network_name(_n: u32, ) -> Weight {
 | 
						fn update_network_name(_n: u32, ) -> Weight {
 | 
				
			||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `295`
 | 
							//  Measured:  `294`
 | 
				
			||||||
		//  Estimated: `3760`
 | 
							//  Estimated: `3759`
 | 
				
			||||||
		// Minimum execution time: 50_224_000 picoseconds.
 | 
							// Minimum execution time: 48_741_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(54_405_362, 0)
 | 
							Weight::from_parts(50_426_703, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3760))
 | 
								.saturating_add(Weight::from_parts(0, 3759))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -82,13 +82,13 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
 | 
				
			|||||||
	/// The range of component `n` is `[1, 150]`.
 | 
						/// The range of component `n` is `[1, 150]`.
 | 
				
			||||||
	fn update_network_endpoint(n: u32, ) -> Weight {
 | 
						fn update_network_endpoint(n: u32, ) -> Weight {
 | 
				
			||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `295`
 | 
							//  Measured:  `294`
 | 
				
			||||||
		//  Estimated: `3760`
 | 
							//  Estimated: `3759`
 | 
				
			||||||
		// Minimum execution time: 50_598_000 picoseconds.
 | 
							// Minimum execution time: 49_090_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(54_951_352, 0)
 | 
							Weight::from_parts(50_734_447, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3760))
 | 
								.saturating_add(Weight::from_parts(0, 3759))
 | 
				
			||||||
			// Standard Error: 10_596
 | 
								// Standard Error: 863
 | 
				
			||||||
			.saturating_add(Weight::from_parts(11_691, 0).saturating_mul(n.into()))
 | 
								.saturating_add(Weight::from_parts(786, 0).saturating_mul(n.into()))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -96,23 +96,23 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
 | 
				
			|||||||
	/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
						/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
				
			||||||
	fn update_network_finality_delay() -> Weight {
 | 
						fn update_network_finality_delay() -> Weight {
 | 
				
			||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `295`
 | 
							//  Measured:  `294`
 | 
				
			||||||
		//  Estimated: `3760`
 | 
							//  Estimated: `3759`
 | 
				
			||||||
		// Minimum execution time: 49_089_000 picoseconds.
 | 
							// Minimum execution time: 48_107_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(50_797_000, 0)
 | 
							Weight::from_parts(48_993_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3760))
 | 
								.saturating_add(Weight::from_parts(0, 3759))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	/// Storage: `GhostNetworks::Networks` (r:1 w:1)
 | 
						/// Storage: `GhostNetworks::Networks` (r:1 w:1)
 | 
				
			||||||
	/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
						/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
				
			||||||
	fn update_network_release_delay() -> Weight {
 | 
						fn update_network_block_distance() -> Weight {
 | 
				
			||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `295`
 | 
							//  Measured:  `294`
 | 
				
			||||||
		//  Estimated: `3760`
 | 
							//  Estimated: `3759`
 | 
				
			||||||
		// Minimum execution time: 49_606_000 picoseconds.
 | 
							// Minimum execution time: 48_277_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(50_371_000, 0)
 | 
							Weight::from_parts(49_393_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3760))
 | 
								.saturating_add(Weight::from_parts(0, 3759))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -120,11 +120,11 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
 | 
				
			|||||||
	/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
						/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
				
			||||||
	fn update_network_type() -> Weight {
 | 
						fn update_network_type() -> Weight {
 | 
				
			||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `295`
 | 
							//  Measured:  `294`
 | 
				
			||||||
		//  Estimated: `3760`
 | 
							//  Estimated: `3759`
 | 
				
			||||||
		// Minimum execution time: 48_135_000 picoseconds.
 | 
							// Minimum execution time: 47_642_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(48_619_000, 0)
 | 
							Weight::from_parts(49_212_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3760))
 | 
								.saturating_add(Weight::from_parts(0, 3759))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -132,11 +132,11 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
 | 
				
			|||||||
	/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
						/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
				
			||||||
	fn update_network_gatekeeper() -> Weight {
 | 
						fn update_network_gatekeeper() -> Weight {
 | 
				
			||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `295`
 | 
							//  Measured:  `294`
 | 
				
			||||||
		//  Estimated: `3760`
 | 
							//  Estimated: `3759`
 | 
				
			||||||
		// Minimum execution time: 50_027_000 picoseconds.
 | 
							// Minimum execution time: 49_440_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(51_212_000, 0)
 | 
							Weight::from_parts(50_315_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3760))
 | 
								.saturating_add(Weight::from_parts(0, 3759))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -144,11 +144,11 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
 | 
				
			|||||||
	/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
						/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
				
			||||||
	fn update_network_topic_name() -> Weight {
 | 
						fn update_network_topic_name() -> Weight {
 | 
				
			||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `295`
 | 
							//  Measured:  `294`
 | 
				
			||||||
		//  Estimated: `3760`
 | 
							//  Estimated: `3759`
 | 
				
			||||||
		// Minimum execution time: 50_686_000 picoseconds.
 | 
							// Minimum execution time: 49_469_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(52_276_000, 0)
 | 
							Weight::from_parts(50_532_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3760))
 | 
								.saturating_add(Weight::from_parts(0, 3759))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -156,11 +156,11 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
 | 
				
			|||||||
	/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
						/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
				
			||||||
	fn update_incoming_network_fee() -> Weight {
 | 
						fn update_incoming_network_fee() -> Weight {
 | 
				
			||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `295`
 | 
							//  Measured:  `294`
 | 
				
			||||||
		//  Estimated: `3760`
 | 
							//  Estimated: `3759`
 | 
				
			||||||
		// Minimum execution time: 48_485_000 picoseconds.
 | 
							// Minimum execution time: 47_858_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(49_672_000, 0)
 | 
							Weight::from_parts(48_703_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3760))
 | 
								.saturating_add(Weight::from_parts(0, 3759))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -168,11 +168,11 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
 | 
				
			|||||||
	/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
						/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
				
			||||||
	fn update_outgoing_network_fee() -> Weight {
 | 
						fn update_outgoing_network_fee() -> Weight {
 | 
				
			||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `295`
 | 
							//  Measured:  `294`
 | 
				
			||||||
		//  Estimated: `3760`
 | 
							//  Estimated: `3759`
 | 
				
			||||||
		// Minimum execution time: 48_926_000 picoseconds.
 | 
							// Minimum execution time: 47_895_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(49_482_000, 0)
 | 
							Weight::from_parts(49_230_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3760))
 | 
								.saturating_add(Weight::from_parts(0, 3759))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -180,11 +180,11 @@ impl<T: frame_system::Config> ghost_networks::WeightInfo for WeightInfo<T> {
 | 
				
			|||||||
	/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
						/// Proof: `GhostNetworks::Networks` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
				
			||||||
	fn remove_network() -> Weight {
 | 
						fn remove_network() -> Weight {
 | 
				
			||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `295`
 | 
							//  Measured:  `294`
 | 
				
			||||||
		//  Estimated: `3760`
 | 
							//  Estimated: `3759`
 | 
				
			||||||
		// Minimum execution time: 45_163_000 picoseconds.
 | 
							// Minimum execution time: 44_052_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(45_822_000, 0)
 | 
							Weight::from_parts(44_612_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3760))
 | 
								.saturating_add(Weight::from_parts(0, 3759))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(1))
 | 
								.saturating_add(T::DbWeight::get().reads(1))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(1))
 | 
								.saturating_add(T::DbWeight::get().writes(1))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user