Skip to content
Snippets Groups Projects
Unverified Commit 96d885aa authored by Sebastian Kunert's avatar Sebastian Kunert
Browse files

Fix pov-recovery test

parent 9d149896
Branches
No related merge requests found
Pipeline #481833 waiting for manual action with stages
in 11 minutes and 55 seconds
......@@ -17,7 +17,9 @@
use super::*;
use assert_matches::assert_matches;
use codec::{Decode, Encode};
use cumulus_primitives_core::relay_chain::{BlockId, CandidateCommitments, CandidateDescriptor};
use cumulus_primitives_core::relay_chain::{
BlockId, CandidateCommitments, CandidateDescriptor, CoreState,
};
use cumulus_relay_chain_interface::{
InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, PHash, PHeader,
PersistedValidationData, StorageValue, ValidationCodeHash, ValidatorId,
......@@ -478,6 +480,13 @@ impl RelayChainInterface for Relaychain {
async fn header(&self, _: BlockId) -> RelayChainResult<Option<PHeader>> {
unimplemented!("Not needed for test");
}
async fn availability_cores(
&self,
_: PHash,
) -> RelayChainResult<Vec<CoreState<PHash, NumberFor<Block>>>> {
unimplemented!("Not needed for test");
}
}
fn make_candidate_chain(candidate_number_range: Range<u32>) -> Vec<CommittedCandidateReceipt> {
......
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