Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
d0aac4c
create a v1 primitives module
rphmeier Jul 9, 2020
db8a5de
Improve guide on availability types
rphmeier Jul 9, 2020
1312093
punctuate
rphmeier Jul 9, 2020
cbd848a
new parachains runtime uses new primitives
rphmeier Jul 9, 2020
14425bd
tests of new runtime now use new primitives
rphmeier Jul 9, 2020
8313f46
add ErasureChunk to guide
rphmeier Jul 9, 2020
7794af4
export erasure chunk from v1 primitives
rphmeier Jul 9, 2020
888fee0
subsystem crate uses v1 primitives
rphmeier Jul 9, 2020
25e7acf
node-primitives uses new v1 primitives
rphmeier Jul 9, 2020
3872d3e
port overseer to new primitives
rphmeier Jul 9, 2020
53cd37f
new-proposer uses v1 primitives (no ParachainHost anymore)
rphmeier Jul 9, 2020
072c5fe
fix no-std compilation for primitives
rphmeier Jul 9, 2020
5dc4aa7
service-new uses v1 primitives
rphmeier Jul 9, 2020
e0b0a31
network-bridge uses new primitives
rphmeier Jul 9, 2020
d066d3e
statement distribution uses v1 primitives
rphmeier Jul 9, 2020
09c81f8
PoV distribution uses v1 primitives; add PoV::hash fn
rphmeier Jul 9, 2020
438474f
move parachain to v0
rphmeier Jul 9, 2020
6189c4c
remove inclusion_inherent module and place into v1
rphmeier Jul 9, 2020
0aeee53
remove everything from primitives crate root
rphmeier Jul 9, 2020
9cb6238
remove some unused old types from v0 primitives
rphmeier Jul 9, 2020
55956a8
point everything else at primitives::v0
rphmeier Jul 9, 2020
25719ce
squanch some warns up
rphmeier Jul 9, 2020
e5cf500
add RuntimeDebug import to no-std as well
rphmeier Jul 9, 2020
023a1d4
Merge branch 'master' into rh-primitives-refactor
rphmeier Jul 9, 2020
1af103e
Merge branch 'master' into rh-primitives-refactor
rphmeier Jul 9, 2020
0d3013f
port over statement-table and validation
rphmeier Jul 9, 2020
8c2403f
fix final errors in validation and node-primitives
rphmeier Jul 9, 2020
3347e7f
add dummy Ord impl to committed candidate receipt
rphmeier Jul 9, 2020
b241140
guide: update CandidateValidationMessage
rphmeier Jul 9, 2020
c70badd
add primitive for validationoutputs
rphmeier Jul 9, 2020
43e8e30
expand CandidateValidationMessage further
rphmeier Jul 9, 2020
935d536
bikeshed
rphmeier Jul 9, 2020
3ec9437
add some impls to omitted-validation-data and available-data
rphmeier Jul 9, 2020
821c556
expand CandidateValidationMessage
rphmeier Jul 9, 2020
dc7cd08
make erasure-coding generic over v1/v0
rphmeier Jul 9, 2020
6306116
update usages of erasure-coding
rphmeier Jul 9, 2020
1bd4809
implement commitments.hash()
rphmeier Jul 9, 2020
afd20dd
use Arc<Pov> for CandidateValidation
rphmeier Jul 9, 2020
0fbbc42
improve new erasure-coding method names
rphmeier Jul 9, 2020
beb0dc4
fix up candidate backing
rphmeier Jul 9, 2020
d69770c
update docs a bit
rphmeier Jul 10, 2020
bbc2ea1
fix most tests and add short-circuiting to make_pov_available
rphmeier Jul 10, 2020
4015271
fix remainder of candidate backing tests
rphmeier Jul 10, 2020
c8b0af4
squanching warns
rphmeier Jul 10, 2020
8e5e35d
squanch it up
rphmeier Jul 10, 2020
5d352cc
some fallout
rphmeier Jul 10, 2020
9370455
overseer fallout
rphmeier Jul 10, 2020
60c3bb0
free from polkadot-test-service hell
rphmeier Jul 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add some impls to omitted-validation-data and available-data
  • Loading branch information
rphmeier committed Jul 9, 2020
commit 3ec9437c987bebb006bf115cd6647ff4cb17708c
4 changes: 4 additions & 0 deletions primitives/src/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ impl CoreAssignment {

/// Validation data omitted from most candidate descriptor structs, as it can be derived from the
/// relay-parent.
#[derive(Clone, Encode, Decode)]
#[cfg_attr(feature = "std", derive(PartialEq, Debug))]
pub struct OmittedValidationData {
/// The global validation schedule.
pub global_validation: GlobalValidationSchedule,
Expand All @@ -459,6 +461,8 @@ pub struct OmittedValidationData {
}

/// This is the data we keep available for each candidate included in the relay chain.
#[derive(Clone, Encode, Decode)]
#[cfg_attr(feature = "std", derive(PartialEq, Debug))]
pub struct AvailableData {
/// The Proof-of-Validation of the candidate.
pub pov: PoV,
Expand Down