forked from ghostchain/ghost-node
		
	fixes for the default weights on slow-clap package
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
		
							parent
							
								
									7107283121
								
							
						
					
					
						commit
						b5845924dc
					
				
							
								
								
									
										2
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							@ -1186,7 +1186,7 @@ dependencies = [
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
[[package]]
 | 
					[[package]]
 | 
				
			||||||
name = "casper-runtime"
 | 
					name = "casper-runtime"
 | 
				
			||||||
version = "3.5.21"
 | 
					version = "3.5.22"
 | 
				
			||||||
dependencies = [
 | 
					dependencies = [
 | 
				
			||||||
 "casper-runtime-constants",
 | 
					 "casper-runtime-constants",
 | 
				
			||||||
 "frame-benchmarking",
 | 
					 "frame-benchmarking",
 | 
				
			||||||
 | 
				
			|||||||
@ -35,16 +35,15 @@
 | 
				
			|||||||
// --header=./file_header.txt
 | 
					// --header=./file_header.txt
 | 
				
			||||||
// --output=./runtime/casper/src/weights/ghost_slow_clap.rs
 | 
					// --output=./runtime/casper/src/weights/ghost_slow_clap.rs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use frame_support::{
 | 
					 | 
				
			||||||
    traits::Get,
 | 
					 | 
				
			||||||
    weights::{Weight, constants::RocksDbWeight}
 | 
					 | 
				
			||||||
};
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#![cfg_attr(rustfmt, rustfmt_skip)]
 | 
					#![cfg_attr(rustfmt, rustfmt_skip)]
 | 
				
			||||||
#![allow(unused_parens)]
 | 
					#![allow(unused_parens)]
 | 
				
			||||||
#![allow(unused_imports)]
 | 
					#![allow(unused_imports)]
 | 
				
			||||||
#![allow(missing_docs)]
 | 
					#![allow(missing_docs)]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					use frame_support::{
 | 
				
			||||||
 | 
					    traits::Get,
 | 
				
			||||||
 | 
					    weights::{Weight, constants::RocksDbWeight}
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
use core::marker::PhantomData;
 | 
					use core::marker::PhantomData;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pub trait WeightInfo {
 | 
					pub trait WeightInfo {
 | 
				
			||||||
@ -143,8 +142,8 @@ impl WeightInfo for () {
 | 
				
			|||||||
		// Minimum execution time: 211_154_000 picoseconds.
 | 
							// Minimum execution time: 211_154_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(215_420_000, 0)
 | 
							Weight::from_parts(215_420_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 3820))
 | 
								.saturating_add(Weight::from_parts(0, 3820))
 | 
				
			||||||
			.saturating_add(T::RocksDbWeight::get().reads(10))
 | 
								.saturating_add(RocksDbWeight::get().reads(10))
 | 
				
			||||||
			.saturating_add(T::RocksDbWeight::get().writes(7))
 | 
								.saturating_add(RocksDbWeight::get().writes(7))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	/// Storage: `GhostSlowClaps::ReceivedClaps` (r:1 w:0)
 | 
						/// Storage: `GhostSlowClaps::ReceivedClaps` (r:1 w:0)
 | 
				
			||||||
	/// Proof: `GhostSlowClaps::ReceivedClaps` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
						/// Proof: `GhostSlowClaps::ReceivedClaps` (`max_values`: None, `max_size`: None, mode: `Measured`)
 | 
				
			||||||
@ -171,7 +170,7 @@ impl WeightInfo for () {
 | 
				
			|||||||
		// Minimum execution time: 208_453_000 picoseconds.
 | 
							// Minimum execution time: 208_453_000 picoseconds.
 | 
				
			||||||
		Weight::from_parts(212_038_000, 0)
 | 
							Weight::from_parts(212_038_000, 0)
 | 
				
			||||||
			.saturating_add(Weight::from_parts(0, 4120))
 | 
								.saturating_add(Weight::from_parts(0, 4120))
 | 
				
			||||||
			.saturating_add(T::RocksDbWeight::get().reads(9))
 | 
								.saturating_add(RocksDbWeight::get().reads(9))
 | 
				
			||||||
			.saturating_add(T::RocksDbWeight::get().writes(5))
 | 
								.saturating_add(RocksDbWeight::get().writes(5))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user