replace HistoricalValidationCode usages with ValidationCodeByHash (#3210)

* replace HistoricalValidationCode usages with ValidationCodeByHash

* runtime-api: tabify tests file

* update implementers guide
This commit is contained in:
André Silva authored and GitHub committed 2021-06-11 18:00:57 +00:00
1 parent c8cf749aab
commit 8c3bc2b2bb
20 files changed
+659 -797

No files matched your search

-7
View File
@@ -670,13 +670,6 @@ sp_api::impl_runtime_apis! {
runtime_impl::validation_code::<Runtime>(para_id, assumption)
}
fn historical_validation_code(para_id: ParaId, context_height: BlockNumber)
-> Option<ValidationCode>
{
runtime_impl::historical_validation_code::<Runtime>(para_id, context_height)
}
fn candidate_pending_availability(para_id: ParaId) -> Option<CommittedCandidateReceipt<Hash>> {
runtime_impl::candidate_pending_availability::<Runtime>(para_id)
}