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(blob): implement length method #3606

Merged
merged 4 commits into from
Jul 31, 2024

Conversation

vgonkivs
Copy link
Member

@vgonkivs vgonkivs commented Jul 30, 2024

Added a Length() method to the Blob struct that helps to determine the number of the shares in the blob.

blob/blob.go Show resolved Hide resolved
blob/blob.go Outdated Show resolved Hide resolved
blob/blob.go Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jul 30, 2024

Codecov Report

Attention: Patch coverage is 38.46154% with 8 lines in your changes missing coverage. Please review.

Project coverage is 45.42%. Comparing base (2469e7a) to head (b88bcea).
Report is 147 commits behind head on main.

Files Patch % Lines
blob/blob.go 38.46% 4 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3606      +/-   ##
==========================================
+ Coverage   44.83%   45.42%   +0.59%     
==========================================
  Files         265      280      +15     
  Lines       14620    15867    +1247     
==========================================
+ Hits         6555     7208     +653     
- Misses       7313     7826     +513     
- Partials      752      833      +81     

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

@vgonkivs vgonkivs enabled auto-merge (squash) July 31, 2024 15:10
@vgonkivs vgonkivs merged commit 6c5cf7d into celestiaorg:main Jul 31, 2024
24 of 25 checks passed
sebasti810 pushed a commit to sebasti810/celestia-node that referenced this pull request Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:blob kind:feat Attached to feature PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants