Skip to content

Commit f8f6084

Browse files
committed
Improve signed extra instantiation
1 parent 0fe68cc commit f8f6084

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

template/node/src/benchmarking.rs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -121,19 +121,7 @@ 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 = 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((
124+
let extra = runtime::SignedExtra::new((
137125
frame_system::CheckNonZeroSender::<runtime::Runtime>::new(),
138126
frame_system::CheckSpecVersion::<runtime::Runtime>::new(),
139127
frame_system::CheckTxVersion::<runtime::Runtime>::new(),

0 commit comments

Comments
 (0)