mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
Use No-Op Ancestry Checker (#755)
* Use no-op ancestry checker * Check that current header height is greater than last finalized * Ensure that incoming headers are strictly greater than last finalized * Ensure that header numbers always increase in tests
This commit is contained in:
committed by
Bastian Köcher
parent
c00a47d5ca
commit
658e4e9b5c
@@ -420,8 +420,8 @@ parameter_types! {
|
||||
impl pallet_finality_verifier::Config for Runtime {
|
||||
type BridgedChain = bp_millau::Millau;
|
||||
type HeaderChain = pallet_substrate_bridge::Module<Runtime>;
|
||||
type AncestryProof = Vec<bp_millau::Header>;
|
||||
type AncestryChecker = bp_header_chain::LinearAncestryChecker;
|
||||
type AncestryProof = ();
|
||||
type AncestryChecker = ();
|
||||
type MaxRequests = MaxRequests;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user