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(share/eds): Store methods take DataHash instead of share.Root #1439

Merged
merged 6 commits into from
Dec 7, 2022

Conversation

renaynay
Copy link
Member

@renaynay renaynay commented Dec 6, 2022

Resolves #1428

Technically breaking API but it's not really used so it doesn't matter :)

@renaynay renaynay added area:shares Shares and samples area:block Raw blocks and erasure coded blocks kind:improvement labels Dec 6, 2022
@renaynay renaynay self-assigned this Dec 6, 2022
share/eds/store.go Outdated Show resolved Hide resolved
share/eds/store.go Outdated Show resolved Hide resolved
share/eds/hash.go Outdated Show resolved Hide resolved
share/share.go Outdated Show resolved Hide resolved
distractedm1nd
distractedm1nd previously approved these changes Dec 6, 2022
share/share.go Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

Codecov Report

Merging #1439 (3e347b2) into main (7cc511d) will decrease coverage by 0.06%.
The diff coverage is 72.72%.

@@            Coverage Diff             @@
##             main    #1439      +/-   ##
==========================================
- Coverage   54.95%   54.89%   -0.07%     
==========================================
  Files         196      196              
  Lines       11964    11971       +7     
==========================================
- Hits         6575     6571       -4     
- Misses       4737     4746       +9     
- Partials      652      654       +2     
Impacted Files Coverage Δ
share/share.go 54.54% <28.57%> (-45.46%) ⬇️
share/eds/store.go 52.10% <90.90%> (ø)
share/eds/eds.go 67.25% <100.00%> (ø)
share/ipld/get.go 92.18% <0.00%> (-2.47%) ⬇️

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

@renaynay renaynay merged commit 5e0cc31 into celestiaorg:main Dec 7, 2022
@renaynay renaynay deleted the data-hash branch December 7, 2022 12:57
renaynay added a commit to renaynay/celestia-node that referenced this pull request Dec 9, 2022
…Root` (celestiaorg#1439)

Resolves celestiaorg#1428 

Technically breaking API but it's not really used so it doesn't matter
:)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:block Raw blocks and erasure coded blocks area:shares Shares and samples
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

eds: Use DataHash instead of share.Root in Store methods
4 participants