forked from ghostchain/ghost-node
		
	update weights and add rate_limit_delay for slow claps
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
		
							parent
							
								
									ac6d70ae91
								
							
						
					
					
						commit
						43f72ec842
					
				@ -1,6 +1,6 @@
 | 
				
			|||||||
[package]
 | 
					[package]
 | 
				
			||||||
name = "ghost-slow-clap"
 | 
					name = "ghost-slow-clap"
 | 
				
			||||||
version = "0.3.29"
 | 
					version = "0.3.30"
 | 
				
			||||||
description = "Applause protocol for the EVM bridge"
 | 
					description = "Applause protocol for the EVM bridge"
 | 
				
			||||||
license.workspace = true
 | 
					license.workspace = true
 | 
				
			||||||
authors.workspace = true
 | 
					authors.workspace = true
 | 
				
			||||||
 | 
				
			|||||||
@ -24,6 +24,7 @@ fn prepare_evm_network(
 | 
				
			|||||||
        chain_name: "Ethereum".into(),
 | 
					        chain_name: "Ethereum".into(),
 | 
				
			||||||
        default_endpoint: get_rpc_endpoint(),
 | 
					        default_endpoint: get_rpc_endpoint(),
 | 
				
			||||||
        finality_delay: 69,
 | 
					        finality_delay: 69,
 | 
				
			||||||
 | 
					        rate_limit_delay: 69,
 | 
				
			||||||
        block_distance: 69,
 | 
					        block_distance: 69,
 | 
				
			||||||
        network_type: ghost_networks::NetworkType::Evm,
 | 
					        network_type: ghost_networks::NetworkType::Evm,
 | 
				
			||||||
        gatekeeper: get_gatekeeper(),
 | 
					        gatekeeper: get_gatekeeper(),
 | 
				
			||||||
 | 
				
			|||||||
@ -16,7 +16,7 @@
 | 
				
			|||||||
//! Autogenerated weights for `ghost_slow_clap`
 | 
					//! Autogenerated weights for `ghost_slow_clap`
 | 
				
			||||||
//!
 | 
					//!
 | 
				
			||||||
//! 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: 2025-06-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
 | 
					//! DATE: 2025-06-19, 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
 | 
				
			||||||
@ -78,8 +78,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
 | 
				
			|||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `355`
 | 
							//  Measured:  `355`
 | 
				
			||||||
		//  Estimated: `3820`
 | 
							//  Estimated: `3820`
 | 
				
			||||||
		// Minimum execution time: 211_154_000 picoseconds.
 | 
							// Minimum execution time: 213_817_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(215_420_000, 0)
 | 
							Weight::from_parts(216_977_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3820))
 | 
								.saturating_add(Weight::from_parts(0, 3820))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(10))
 | 
								.saturating_add(T::DbWeight::get().reads(10))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(7))
 | 
								.saturating_add(T::DbWeight::get().writes(7))
 | 
				
			||||||
@ -106,8 +106,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
 | 
				
			|||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `655`
 | 
							//  Measured:  `655`
 | 
				
			||||||
		//  Estimated: `4120`
 | 
							//  Estimated: `4120`
 | 
				
			||||||
		// Minimum execution time: 208_453_000 picoseconds.
 | 
							// Minimum execution time: 210_676_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(212_038_000, 0)
 | 
							Weight::from_parts(212_905_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 4120))
 | 
								.saturating_add(Weight::from_parts(0, 4120))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().reads(9))
 | 
								.saturating_add(T::DbWeight::get().reads(9))
 | 
				
			||||||
			.saturating_add(T::DbWeight::get().writes(5))
 | 
								.saturating_add(T::DbWeight::get().writes(5))
 | 
				
			||||||
@ -139,8 +139,8 @@ impl WeightInfo for () {
 | 
				
			|||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `355`
 | 
							//  Measured:  `355`
 | 
				
			||||||
		//  Estimated: `3820`
 | 
							//  Estimated: `3820`
 | 
				
			||||||
		// Minimum execution time: 211_154_000 picoseconds.
 | 
							// Minimum execution time: 213_817_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(215_420_000, 0)
 | 
							Weight::from_parts(216_977_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3820))
 | 
								.saturating_add(Weight::from_parts(0, 3820))
 | 
				
			||||||
			.saturating_add(RocksDbWeight::get().reads(10))
 | 
								.saturating_add(RocksDbWeight::get().reads(10))
 | 
				
			||||||
			.saturating_add(RocksDbWeight::get().writes(7))
 | 
								.saturating_add(RocksDbWeight::get().writes(7))
 | 
				
			||||||
@ -167,8 +167,8 @@ impl WeightInfo for () {
 | 
				
			|||||||
		// Proof Size summary in bytes:
 | 
							// Proof Size summary in bytes:
 | 
				
			||||||
		//  Measured:  `655`
 | 
							//  Measured:  `655`
 | 
				
			||||||
		//  Estimated: `4120`
 | 
							//  Estimated: `4120`
 | 
				
			||||||
		// Minimum execution time: 208_453_000 picoseconds.
 | 
							// Minimum execution time: 210_676_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(212_038_000, 0)
 | 
							Weight::from_parts(212_905_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 4120))
 | 
								.saturating_add(Weight::from_parts(0, 4120))
 | 
				
			||||||
			.saturating_add(RocksDbWeight::get().reads(9))
 | 
								.saturating_add(RocksDbWeight::get().reads(9))
 | 
				
			||||||
			.saturating_add(RocksDbWeight::get().writes(5))
 | 
								.saturating_add(RocksDbWeight::get().writes(5))
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user