mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-24 19:39:56 +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:
1 parent
c00a47d5ca
commit
658e4e9b5c
5 files changed
+64
-32
No files matched your search
@@ -313,8 +313,8 @@ parameter_types! {
|
||||
impl pallet_finality_verifier::Config for Runtime {
|
||||
type BridgedChain = bp_rialto::Rialto;
|
||||
type HeaderChain = pallet_substrate_bridge::Module<Runtime>;
|
||||
type AncestryProof = Vec<bp_rialto::Header>;
|
||||
type AncestryChecker = bp_header_chain::LinearAncestryChecker;
|
||||
type AncestryProof = ();
|
||||
type AncestryChecker = ();
|
||||
type MaxRequests = MaxRequests;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user