Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
96d885aa
Unverified
Commit
96d885aa
authored
10 months ago
by
Sebastian Kunert
Browse files
Options
Downloads
Patches
Plain Diff
Fix pov-recovery test
parent
9d149896
Branches
Branches containing commit
No related merge requests found
Pipeline
#481833
waiting for manual action with stages
in 11 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cumulus/client/pov-recovery/src/tests.rs
+10
-1
10 additions, 1 deletion
cumulus/client/pov-recovery/src/tests.rs
with
10 additions
and
1 deletion
cumulus/client/pov-recovery/src/tests.rs
+
10
−
1
View file @
96d885aa
...
...
@@ -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
>
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment