Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fixup mock runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed Sep 28, 2021
1 parent e4c01f1 commit 803ec4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions node/core/runtime-api/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ sp_api::mock_impl_runtime_apis! {
) -> Option<ValidationCode> {
self.validation_code_by_hash.get(&hash).map(|c| c.clone())
}

fn imported_on_chain_disputes(&self) -> Option<ScrapedImportDisputesAndBackingVotes> {
None
}
}

impl BabeApi<Block> for MockRuntimeApi {
Expand Down

0 comments on commit 803ec4c

Please sign in to comment.