Skip to content

Refactor how to create DataAvailabilityHeaders#524

Merged
evan-forbes merged 14 commits intomasterfrom
evan/refactor-fill-dah
Sep 17, 2021
Merged

Refactor how to create DataAvailabilityHeaders#524
evan-forbes merged 14 commits intomasterfrom
evan/refactor-fill-dah

Conversation

@evan-forbes
Copy link
Member

@evan-forbes evan-forbes commented Sep 2, 2021

Description

part of #505. This PR helps prepare for adding an encoding check during consensus and removal of the data availability header from the block #512

  • moves DAH to da package
  • gets rid of interval digests in favor of []byte
  • refactors filling the DAH
  • adds ValidateBasic to DAH
  • adds unit tests to DAH

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants