Skip to content

Commit

Permalink
Clean Finality Verifier Pallet (paritytech#804)
Browse files Browse the repository at this point in the history
* Remove unused Config types from `pallet-finality-verifier`

* Remove unused AncestryChecker trait

* Remove ancestry proof parameter from relayer calls

* Update docs to reflect current state of pallet

* Remove mock ancestry checker

* Remove unused error

* Write headers outside of function used for authority set changes

* Move justification verification into helper function

* Add documentation suggestions

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* Clean up module level documentation a bit

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
  • Loading branch information
2 people authored and serban300 committed Apr 10, 2024
1 parent e89a8d6 commit 79d9290
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 291 deletions.
3 changes: 0 additions & 3 deletions bridges/bin/millau/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,6 @@ parameter_types! {

impl pallet_finality_verifier::Config for Runtime {
type BridgedChain = bp_rialto::Rialto;
type HeaderChain = pallet_substrate_bridge::Module<Runtime>;
type AncestryProof = ();
type AncestryChecker = ();
type MaxRequests = MaxRequests;
}

Expand Down
3 changes: 0 additions & 3 deletions bridges/bin/rialto/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,6 @@ parameter_types! {

impl pallet_finality_verifier::Config for Runtime {
type BridgedChain = bp_millau::Millau;
type HeaderChain = pallet_substrate_bridge::Module<Runtime>;
type AncestryProof = ();
type AncestryChecker = ();
type MaxRequests = MaxRequests;
}

Expand Down
Loading

0 comments on commit 79d9290

Please sign in to comment.