diff --git a/node/core/runtime-api/src/tests.rs b/node/core/runtime-api/src/tests.rs index 18906e196b82..572aa4fe2aac 100644 --- a/node/core/runtime-api/src/tests.rs +++ b/node/core/runtime-api/src/tests.rs @@ -22,8 +22,8 @@ use polkadot_node_subsystem_test_helpers as test_helpers; use polkadot_primitives::v1::{ AuthorityDiscoveryId, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, Id as ParaId, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, - PersistedValidationData, SessionIndex, SessionInfo, ValidationCode, ValidationCodeHash, - ValidatorId, ValidatorIndex, + PersistedValidationData, ScrapedImportDisputesAndBackingVotes, SessionIndex, SessionInfo, + ValidationCode, ValidationCodeHash, ValidatorId, ValidatorIndex, }; use sp_core::testing::TaskExecutor; use std::{ @@ -149,6 +149,10 @@ sp_api::mock_impl_runtime_apis! { ) -> Option { self.validation_code_by_hash.get(&hash).map(|c| c.clone()) } + + fn imported_on_chain_disputes(&self) -> Option { + None + } } impl BabeApi for MockRuntimeApi {