mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 06:21:02 +00:00
CheckBridgedBlockNumber signed extension to reject duplicate header-submit transactions (#1352)
* CheckBridgedBlockNumber signed extension to reject duplicate header submit transactions * fix depends_on
This commit is contained in:
committed by
Bastian Köcher
parent
748c265c47
commit
f64357e7e8
@@ -113,6 +113,7 @@ impl TransactionSignScheme for Millau {
|
||||
frame_system::CheckNonce::<millau_runtime::Runtime>::from(param.unsigned.nonce),
|
||||
frame_system::CheckWeight::<millau_runtime::Runtime>::new(),
|
||||
pallet_transaction_payment::ChargeTransactionPayment::<millau_runtime::Runtime>::from(param.unsigned.tip),
|
||||
millau_runtime::CheckBridgedBlockNumber, // TODO
|
||||
),
|
||||
(
|
||||
(),
|
||||
@@ -123,6 +124,7 @@ impl TransactionSignScheme for Millau {
|
||||
(),
|
||||
(),
|
||||
(),
|
||||
(),
|
||||
),
|
||||
);
|
||||
let signature = raw_payload.using_encoded(|payload| param.signer.sign(payload));
|
||||
|
||||
Reference in New Issue
Block a user