Sync Westend to Millau (#824)

* make finality verifier pallet instantiable

* add second instance of finality verifier pallet to the Millau runtime

* add Westend -> Millau headers relay

* use wss to connect to public westend nodes

* initialize with best_finalized_block

* typo

* Revert "initialize with best_finalized_block"

This reverts commit 954ed2832372d67618abc1a06d47e66faa93f674.

* pass VoterSet by ref

* new bridge initialization code

* loop upper bound

* Polkadot -> Westend

* fixed tests compilation

* default-features

* assert
This commit is contained in:
Svyatoslav Nikolsky authored and Bastian Köcher committed 2024-04-10 10:28:37 +02:00
1 parent 249a8f73ff
commit d749bc3a96
18 files changed
+474 -136

No files matched your search

+1 -1
View File
@@ -236,7 +236,7 @@ where
verify_justification::<H>(
(hash, *header.number()),
current_authority_set.set_id,
voter_set,
&voter_set,
&proof.0,
)
.map_err(|_| FinalizationError::InvalidJustification)?;