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(api/share): use height in share module #3870

Merged
merged 4 commits into from
Oct 23, 2024

Conversation

walldiss
Copy link
Member

Use height instead of header in share module API

@walldiss walldiss added kind:break! Attached to breaking PRs area:api Related to celestia-node API kind:refactor Attached to refactoring PRs labels Oct 22, 2024
@walldiss walldiss self-assigned this Oct 22, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 0% with 43 lines in your changes missing coverage. Please review.

Project coverage is 45.16%. Comparing base (2469e7a) to head (e20a1f3).
Report is 360 commits behind head on main.

Files with missing lines Patch % Lines
nodebuilder/share/share.go 0.00% 29 Missing ⚠️
nodebuilder/share/cmd/share.go 0.00% 8 Missing ⚠️
nodebuilder/share/mocks/api.go 0.00% 4 Missing ⚠️
api/gateway/availability.go 0.00% 1 Missing ⚠️
api/gateway/share.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3870      +/-   ##
==========================================
+ Coverage   44.83%   45.16%   +0.33%     
==========================================
  Files         265      311      +46     
  Lines       14620    21882    +7262     
==========================================
+ Hits         6555     9884    +3329     
- Misses       7313    10942    +3629     
- Partials      752     1056     +304     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Swamp tests are broken as they still pass headers instead of height

Wondertan
Wondertan previously approved these changes Oct 22, 2024
nodebuilder/node_test.go Show resolved Hide resolved
cristaloleg
cristaloleg previously approved these changes Oct 22, 2024
@Wondertan
Copy link
Member

conflicts (

renaynay
renaynay previously approved these changes Oct 23, 2024
Copy link
Member

@renaynay renaynay left a comment

Choose a reason for hiding this comment

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

very quick review, thanks @walldiss

@walldiss walldiss enabled auto-merge (squash) October 23, 2024 09:46
@vgonkivs
Copy link
Member

FYI @jcstein

@walldiss walldiss merged commit cfb363c into celestiaorg:main Oct 23, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:api Related to celestia-node API kind:break! Attached to breaking PRs kind:refactor Attached to refactoring PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants