Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor how to create DataAvailabilityHeaders (#524) #535

Merged
merged 1 commit into from
Sep 20, 2021

Conversation

evan-forbes
Copy link
Member

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

Description

simple PR that cherry picks the recent DataAvailabiltyHeader refactor along with including the nmt wrapper

part of #528

* use [][]byte instead of interval digests

* add extra DAH methods

* move the dataavailabilityheader from types to da

* refactor creating DAHs

* finish refactor and clean up

* add tests

* linter

* typos causing tests to fail

* fix docs

* remove test used while debugging

* add docs to indicate that computing the shares also padds them

* update to the latest version of nmt

* change version of checkout to hopefully fix the proto lint ci test

* update hashes to account for new verison of nmt

add refactored DAH and nmt wrapper
@evan-forbes evan-forbes self-assigned this Sep 20, 2021
@evan-forbes
Copy link
Member Author

evan-forbes commented Sep 20, 2021

the proto linter is broken on the CI because it complains about some versioning issues that should be addressed upstream, but works fine locally

@liamsi
Copy link
Member

liamsi commented Sep 20, 2021

Approved as this is the same as already reviewed #524. I'd recommend creating a merge commit instead of squashing this maybe.

@evan-forbes evan-forbes merged commit 885cdc3 into evan/merge-theirs Sep 20, 2021
@evan-forbes evan-forbes deleted the evan/cherry-pick-dah-refactor branch September 20, 2021 22:54
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.

2 participants