File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
runtime/calamari/src/weights Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ pub trait WeightInfo {
5353 fn remove_collator ( c : u32 , ) -> Weight ;
5454 fn register_candidate ( c : u32 , ) -> Weight ;
5555 fn note_author ( ) -> Weight ;
56- fn new_session ( c : u32 , ) -> Weight ;
56+ fn new_session ( c : u32 , r : u32 ) -> Weight ;
5757}
5858
5959/// Weights for manta_collator_selection using the Substrate node and recommended hardware.
@@ -240,10 +240,11 @@ impl WeightInfo for () {
240240 // Storage: System BlockWeight (r:1 w:1)
241241 // Storage: Session Validators (r:1 w:0)
242242 // Storage: System Account (r:1 w:1)
243- fn new_session ( c : u32 , ) -> Weight {
243+ fn new_session ( c : u32 , r : u32 ) -> Weight {
244244 ( 0 as Weight )
245245 // Standard Error: 275_000
246246 . saturating_add ( ( 32_572_000 as Weight ) . saturating_mul ( c as Weight ) )
247+ . saturating_add ( ( 0 as Weight ) . saturating_mul ( r as Weight ) )
247248 . saturating_add ( RocksDbWeight :: get ( ) . reads ( 6 as Weight ) )
248249 . saturating_add ( RocksDbWeight :: get ( ) . reads ( ( 2 as Weight ) . saturating_mul ( c as Weight ) ) )
249250 . saturating_add ( RocksDbWeight :: get ( ) . writes ( 2 as Weight ) )
You can’t perform that action at this time.
0 commit comments