mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 08:01:09 +00:00
Include a reference to the validation data in the candidate descriptor (#1442)
* rename GlobalValidationSchedule to GlobalValidationData * guide: update candidate descriptor to contain validation data hash * guide: add note in inclusion module about checking validation data hash * primitives: update CandidateDescriptor to contain new hash * fix payload computation * add helpers for computing validation data to runtime modules * guide: note routines * inclusion: check validation data hash and fix local_validation_data bug * add a case to candidate_checks and improve that test substantially * bump versions * address review comments * add a test for including code upgrade * bump kusama version * bump westend & polkadot versions
This commit is contained in:
committed by
GitHub
parent
1ed17cd467
commit
09f602f8de
@@ -21,7 +21,7 @@ use polkadot_primitives::v0::{
|
||||
Block,
|
||||
Id as ParaId, Chain, DutyRoster, ParachainHost, ValidatorId,
|
||||
Retriable, CollatorId, AbridgedCandidateReceipt,
|
||||
GlobalValidationSchedule, LocalValidationData, ErasureChunk, SigningContext,
|
||||
GlobalValidationData, LocalValidationData, ErasureChunk, SigningContext,
|
||||
PoVBlock, BlockData, ValidationCode,
|
||||
};
|
||||
use polkadot_validation::{SharedTable, TableRouter};
|
||||
@@ -180,7 +180,7 @@ sp_api::mock_impl_runtime_apis! {
|
||||
Some(ValidationCode(Vec::new()))
|
||||
}
|
||||
|
||||
fn global_validation_schedule() -> GlobalValidationSchedule {
|
||||
fn global_validation_data() -> GlobalValidationData {
|
||||
Default::default()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user