Skip to content

Commit c6c09c7

Browse files
committedJul 5, 2024
fix: benchamrks
1 parent 2b52cba commit c6c09c7

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed
 

‎Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎bin/collator/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ frame-system = { workspace = true, features = ["std"] }
102102
pallet-transaction-payment = { workspace = true, features = ["std"] }
103103
pallet-transaction-payment-rpc = { workspace = true }
104104
substrate-frame-rpc-system = { workspace = true }
105+
frame-metadata-hash-extension = { workspace = true }
105106

106107
# CLI-specific dependencies
107108
sc-cli = { workspace = true, optional = true }

‎bin/collator/src/benchmarking.rs

+8
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ where
222222
frame_system::CheckNonce::<runtime::Runtime>::from(nonce),
223223
frame_system::CheckWeight::<runtime::Runtime>::new(),
224224
pallet_transaction_payment::ChargeTransactionPayment::<runtime::Runtime>::from(0),
225+
frame_metadata_hash_extension::CheckMetadataHash::<runtime::Runtime>::new(false)
225226
);
226227

227228
let payload = runtime::SignedPayload::from_raw(
@@ -235,6 +236,7 @@ where
235236
(),
236237
(),
237238
(),
239+
None,
238240
),
239241
);
240242

@@ -279,6 +281,7 @@ where
279281
frame_system::CheckNonce::<runtime::Runtime>::from(nonce),
280282
frame_system::CheckWeight::<runtime::Runtime>::new(),
281283
pallet_transaction_payment::ChargeTransactionPayment::<runtime::Runtime>::from(0),
284+
frame_metadata_hash_extension::CheckMetadataHash::<runtime::Runtime>::new(false)
282285
);
283286

284287
let payload = runtime::SignedPayload::from_raw(
@@ -292,6 +295,7 @@ where
292295
(),
293296
(),
294297
(),
298+
None,
295299
),
296300
);
297301

@@ -336,6 +340,7 @@ where
336340
frame_system::CheckNonce::<runtime::Runtime>::from(nonce),
337341
frame_system::CheckWeight::<runtime::Runtime>::new(),
338342
pallet_transaction_payment::ChargeTransactionPayment::<runtime::Runtime>::from(0),
343+
frame_metadata_hash_extension::CheckMetadataHash::<runtime::Runtime>::new(false)
339344
);
340345

341346
let payload = runtime::SignedPayload::from_raw(
@@ -349,6 +354,7 @@ where
349354
(),
350355
(),
351356
(),
357+
None,
352358
),
353359
);
354360

@@ -393,6 +399,7 @@ where
393399
frame_system::CheckNonce::<runtime::Runtime>::from(nonce),
394400
frame_system::CheckWeight::<runtime::Runtime>::new(),
395401
pallet_transaction_payment::ChargeTransactionPayment::<runtime::Runtime>::from(0),
402+
frame_metadata_hash_extension::CheckMetadataHash::<runtime::Runtime>::new(false)
396403
);
397404

398405
let payload = runtime::SignedPayload::from_raw(
@@ -406,6 +413,7 @@ where
406413
(),
407414
(),
408415
(),
416+
None,
409417
),
410418
);
411419

0 commit comments

Comments
 (0)