mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
Reduce the number of macros used for SignedExtensions
Reduce the number of macros used for SignedExtensions Signed-off-by: Serban Iorga <serban@parity.io>
This commit is contained in:
committed by
Bastian Köcher
parent
057fd6cab2
commit
5d9bd1d0b5
@@ -114,9 +114,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::BridgeRejectObsoleteGrandpaHeader,
|
||||
millau_runtime::BridgeRejectObsoleteParachainHeader,
|
||||
millau_runtime::BridgeRejectObsoleteMessages,
|
||||
millau_runtime::BridgeRejectObsoleteHeadersAndMessages,
|
||||
),
|
||||
(
|
||||
(),
|
||||
@@ -128,8 +126,6 @@ impl TransactionSignScheme for Millau {
|
||||
(),
|
||||
(),
|
||||
(),
|
||||
(),
|
||||
(),
|
||||
),
|
||||
);
|
||||
let signature = raw_payload.using_encoded(|payload| param.signer.sign(payload));
|
||||
|
||||
Reference in New Issue
Block a user