New relayer rewards scheme integration (#1652)

* relayer rewards integration: initial commit

* added refund-relayer-extension to the millau runtime

* spelling

* spelling again

* new -> Default
This commit is contained in:
Svyatoslav Nikolsky
2022-12-09 17:19:02 +03:00
committed by Bastian Köcher
parent 161d861d9b
commit 2c5e2f09eb
11 changed files with 158 additions and 138 deletions
+2
View File
@@ -114,6 +114,7 @@ impl ChainWithTransactions for Millau {
frame_system::CheckWeight::<millau_runtime::Runtime>::new(),
pallet_transaction_payment::ChargeTransactionPayment::<millau_runtime::Runtime>::from(unsigned.tip),
millau_runtime::BridgeRejectObsoleteHeadersAndMessages,
millau_runtime::BridgeRefundRialtoParachainRelayers::default(),
),
(
(),
@@ -125,6 +126,7 @@ impl ChainWithTransactions for Millau {
(),
(),
(),
()
),
);
let signature = raw_payload.using_encoded(|payload| param.signer.sign(payload));