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

Change primitives to match guide's description of candidate types #1276

@rphmeier

Description

@rphmeier

Might have a bit of fallout in runtime/common, validation, and network, but shouldn't be too much.

Some other concrete updates:

  • InclusionInherent::inclusion needs to take the candidate commitments alongside the abridged candidate receipt
  • Inclusion::process_candidates needs to check that the encoded commitments match the hash in the abridged receipt.
  • Inclusion should store commitments in a separate map alongside the PendingAvailability, since they may be large. This will make bitfield processing more efficient for candidates that include code upgrades.

Metadata

Metadata

Assignees

Labels

S1-implementPR/Issue is in the implementation stage

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions