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

feat(pkg/da): Extract min share creation into separate function for convenience #1476

Merged
merged 2 commits into from
Mar 13, 2023

Conversation

renaynay
Copy link
Member

This PR extracts min share creation into an exported function so that celestia-node can depend on it canonically without duplicating code and risking error.

@MSevey MSevey requested review from a team and cmwaters and removed request for a team March 13, 2023 14:39
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@c9bd3a2). Click here to learn what that means.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1476   +/-   ##
=======================================
  Coverage        ?   49.21%           
=======================================
  Files           ?       79           
  Lines           ?     4480           
  Branches        ?        0           
=======================================
  Hits            ?     2205           
  Misses          ?     2091           
  Partials        ?      184           
Impacted Files Coverage Δ
pkg/da/data_availability_header.go 78.89% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@MSevey MSevey requested a review from a team March 13, 2023 14:57
Copy link
Member

@Wondertan Wondertan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also make MinEDS then

@evan-forbes evan-forbes merged commit fd784d6 into celestiaorg:main Mar 13, 2023
evan-forbes pushed a commit that referenced this pull request Mar 21, 2023
…onvenience (#1476)

This PR extracts min share creation into an exported function so that
celestia-node can depend on it canonically without duplicating code and
risking error.

Co-authored-by: Callum Waters <cmwaters19@gmail.com>
evan-forbes added a commit that referenced this pull request Mar 21, 2023
…onvenience (#1476) (#1515)

## Overview

cherry picks #1476 onto v0.13.0, which is now a fork of the v0.12.x
branch

## Checklist

- [x] New and updated code has appropriate documentation
- [x] New and updated code has new and/or updated testing
- [x] Required CI checks are passing
- [x] Visual proof for any user facing features like CLI or
documentation updates
- [ ] Linked issues closed with keywords

Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
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.

None yet

6 participants