@@ -121,7 +121,19 @@ pub fn create_benchmark_extrinsic(
121121 . checked_next_power_of_two ( )
122122 . map ( |c| c / 2 )
123123 . unwrap_or ( 2 ) as u64 ;
124- let extra: runtime:: SignedExtra = (
124+ let extra: runtime:: SignedExtra = cumulus_pallet_weight_reclaim:: StorageWeightReclaim :: <
125+ runtime:: Runtime ,
126+ (
127+ frame_system:: CheckNonZeroSender < runtime:: Runtime > ,
128+ frame_system:: CheckSpecVersion < runtime:: Runtime > ,
129+ frame_system:: CheckTxVersion < runtime:: Runtime > ,
130+ frame_system:: CheckGenesis < runtime:: Runtime > ,
131+ frame_system:: CheckMortality < runtime:: Runtime > ,
132+ frame_system:: CheckNonce < runtime:: Runtime > ,
133+ frame_system:: CheckWeight < runtime:: Runtime > ,
134+ pallet_transaction_payment:: ChargeTransactionPayment < runtime:: Runtime > ,
135+ ) ,
136+ > :: new ( (
125137 frame_system:: CheckNonZeroSender :: < runtime:: Runtime > :: new ( ) ,
126138 frame_system:: CheckSpecVersion :: < runtime:: Runtime > :: new ( ) ,
127139 frame_system:: CheckTxVersion :: < runtime:: Runtime > :: new ( ) ,
@@ -133,8 +145,7 @@ pub fn create_benchmark_extrinsic(
133145 frame_system:: CheckNonce :: < runtime:: Runtime > :: from ( nonce) ,
134146 frame_system:: CheckWeight :: < runtime:: Runtime > :: new ( ) ,
135147 pallet_transaction_payment:: ChargeTransactionPayment :: < runtime:: Runtime > :: from ( 0 ) ,
136- cumulus_pallet_weight_reclaim:: StorageWeightReclaim :: < runtime:: Runtime , ( ) > :: new ( ( ) ) ,
137- ) ;
148+ ) ) ;
138149
139150 let raw_payload = runtime:: SignedPayload :: from_raw (
140151 call. clone ( ) ,
@@ -148,7 +159,6 @@ pub fn create_benchmark_extrinsic(
148159 ( ) ,
149160 ( ) ,
150161 ( ) ,
151- ( ) ,
152162 ) ,
153163 ) ;
154164 let signature = raw_payload. using_encoded ( |e| sender. sign ( e) ) ;
0 commit comments