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

-6
View File
@@ -1107,12 +1107,6 @@ sp_api::impl_runtime_apis! {
runtime_api_impl::validation_code::<Runtime>(para_id, assumption)
}
fn historical_validation_code(para_id: Id, context_height: BlockNumber)
-> Option<ValidationCode>
{
runtime_api_impl::historical_validation_code::<Runtime>(para_id, context_height)
}
fn candidate_pending_availability(para_id: Id) -> Option<CommittedCandidateReceipt<Hash>> {
runtime_api_impl::candidate_pending_availability::<Runtime>(para_id)
}