Skip to content
Snippets Groups Projects
Unverified Commit 730edeb6 authored by Chris Sosnin's avatar Chris Sosnin Committed by GitHub
Browse files

add tests for `find_potential_parents` (#1338)

(would have closed) https://github.com/paritytech/cumulus/issues/2831
parent e005aef5
No related merge requests found
Pipeline #389278 failed with stages
in 46 minutes and 19 seconds
......@@ -211,6 +211,7 @@ pub trait ParachainBlockImportMarker {}
impl<B: BlockT, BI, BE> ParachainBlockImportMarker for ParachainBlockImport<B, BI, BE> {}
/// Parameters when searching for suitable parents to build on top of.
#[derive(Debug)]
pub struct ParentSearchParams {
/// The relay-parent that is intended to be used.
pub relay_parent: PHash,
......@@ -228,6 +229,7 @@ pub struct ParentSearchParams {
}
/// A potential parent block returned from [`find_potential_parents`]
#[derive(Debug, PartialEq)]
pub struct PotentialParent<B: BlockT> {
/// The hash of the block.
pub hash: B::Hash,
......
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment