1717//! Autogenerated weights for credits pallet
1818//!
1919//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0
20- //! DATE: 2025 -05-07 , STEPS: `10`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+ //! DATE: 2024 -05-21 , STEPS: `10`, REPEAT: `2`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2121//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128
2222
2323// Executed Command:
@@ -46,6 +46,8 @@ pub trait WeightInfo {
4646 fn burn ( ) -> Weight ;
4747 /// Weight for the `claim_credits` extrinsic
4848 fn claim_credits ( ) -> Weight ;
49+ /// Weight for the `set_stake_tiers` extrinsic
50+ fn set_stake_tiers ( ) -> Weight ;
4951}
5052
5153/// Weights for credits pallet using the Substrate node and recommended hardware.
@@ -61,8 +63,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
6163 // Proof Size summary in bytes:
6264 // Measured: `512`
6365 // Estimated: `1024`
64- // Minimum execution time: 25_000 nanoseconds.
65- Weight :: from_parts ( 26_000_000 , 1024 )
66+ // Minimum execution time: 24_300 nanoseconds.
67+ Weight :: from_parts ( 24_850_000 , 1056 )
6668 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 3_u64 ) )
6769 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2_u64 ) )
6870 }
@@ -79,24 +81,40 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
7981 // Proof Size summary in bytes:
8082 // Measured: `640`
8183 // Estimated: `1280`
82- // Minimum execution time: 35_000 nanoseconds.
83- Weight :: from_parts ( 36_000_000 , 1280 )
84+ // Minimum execution time: 34_100 nanoseconds.
85+ Weight :: from_parts ( 34_750_000 , 1312 )
8486 . saturating_add ( T :: DbWeight :: get ( ) . reads ( 4_u64 ) )
8587 . saturating_add ( T :: DbWeight :: get ( ) . writes ( 2_u64 ) )
8688 }
89+
90+ /// Storage: `Credits::StakeTiers` (r:0 w:1)
91+ /// Proof: `Credits::StakeTiers` (`max_values`: None, `max_size`: Some(256), mode: `Measured`)
92+ fn set_stake_tiers ( ) -> Weight {
93+ // Proof Size summary in bytes:
94+ // Measured: `0`
95+ // Estimated: `0`
96+ // Minimum execution time: 16_200 nanoseconds.
97+ Weight :: from_parts ( 17_350_000 , 32 )
98+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 1_u64 ) )
99+ }
87100}
88101
89102// For backwards compatibility and tests
90103impl WeightInfo for ( ) {
91104 fn burn ( ) -> Weight {
92- Weight :: from_parts ( 26_000_000 , 0 )
105+ Weight :: from_parts ( 24_850_000 , 0 )
93106 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 3_u64 ) )
94107 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 2_u64 ) )
95108 }
96109
97110 fn claim_credits ( ) -> Weight {
98- Weight :: from_parts ( 36_000_000 , 0 )
111+ Weight :: from_parts ( 34_750_000 , 0 )
99112 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 4_u64 ) )
100113 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 2_u64 ) )
101114 }
115+
116+ fn set_stake_tiers ( ) -> Weight {
117+ Weight :: from_parts ( 17_350_000 , 0 )
118+ . saturating_add ( RocksDbWeight :: get ( ) . writes ( 1_u64 ) )
119+ }
102120}
0 commit comments