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

fix(share/availability/light): Allow retries on ODS size 1 #3944

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

renaynay
Copy link
Member

@renaynay renaynay commented Nov 15, 2024

Fixes #3943

Another PR will come later which optimises the request for the single-share-square case :)

@renaynay renaynay added area:shares Shares and samples kind:fix Attached to bug-fixing PRs labels Nov 15, 2024
@renaynay renaynay self-assigned this Nov 15, 2024
@renaynay renaynay marked this pull request as ready for review November 18, 2024 10:35
@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 45.51%. Comparing base (2469e7a) to head (9ad3537).
Report is 390 commits behind head on main.

Files with missing lines Patch % Lines
share/availability/light/availability.go 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3944      +/-   ##
==========================================
+ Coverage   44.83%   45.51%   +0.68%     
==========================================
  Files         265      308      +43     
  Lines       14620    21869    +7249     
==========================================
+ Hits         6555     9954    +3399     
- Misses       7313    10846    +3533     
- Partials      752     1069     +317     

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

walldiss
walldiss previously approved these changes Nov 18, 2024
@vgonkivs
Copy link
Member

UT failed
Error: share/availability/light/availability.go:106:81: invalid operation: la.params.SampleAmount > len(dah.RowRoots) * len(dah.RowRoots) (mismatched types uint and int)

@Wondertan Wondertan enabled auto-merge (squash) November 18, 2024 13:16
@Wondertan Wondertan merged commit 72c08f7 into celestiaorg:main Nov 18, 2024
23 checks passed
Wondertan pushed a commit that referenced this pull request Nov 18, 2024
Fixes #3943 

Another PR will come later which optimises the request for the single-share-square case :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:shares Shares and samples kind:fix Attached to bug-fixing PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

share/availability/light: Unmarshalling of failed sample results in false-positive error
5 participants