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(share/eds) Add Accessor test infra #3425

Merged
merged 3 commits into from
Jun 10, 2024

Conversation

walldiss
Copy link
Member

@walldiss walldiss commented May 22, 2024

Adds generalised testing framework for file interface implementaions

Also adds non-inclusion proofs handling in RowNamespaceDataFromShares and closes #3428

@walldiss walldiss added kind:feat Attached to feature PRs shwap labels May 22, 2024
@walldiss walldiss self-assigned this May 22, 2024
@walldiss walldiss marked this pull request as ready for review May 29, 2024 15:36
@codecov-commenter
Copy link

codecov-commenter commented May 29, 2024

Codecov Report

Attention: Patch coverage is 68.21192% with 48 lines in your changes missing coverage. Please review.

Please upload report for BASE (shwap@60e757e). Learn more about missing BASE report.

Files Patch % Lines
share/new_eds/testing.go 72.09% 32 Missing and 4 partials ⚠️
share/shwap/row_namespace_data.go 42.85% 9 Missing and 3 partials ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             shwap    #3425   +/-   ##
========================================
  Coverage         ?   43.61%           
========================================
  Files            ?      287           
  Lines            ?    16578           
  Branches         ?        0           
========================================
  Hits             ?     7231           
  Misses           ?     8508           
  Partials         ?      839           

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

@walldiss walldiss changed the title feat(share/store_v2) Add file tests feat(share/store_v2) Add Accessor test infra Jun 6, 2024
@walldiss walldiss changed the title feat(share/store_v2) Add Accessor test infra feat(share/eds) Add Accessor test infra Jun 6, 2024
Copy link
Contributor

@cristaloleg cristaloleg left a comment

Choose a reason for hiding this comment

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

SGTM

@Wondertan
Copy link
Member

Linter complains

@walldiss
Copy link
Member Author

walldiss commented Jun 9, 2024

Linter complains, because it is older version of linter in ci. Fixed to satisfy ci linter

share/new_eds/rsmt2d.go Show resolved Hide resolved
share/new_eds/testing.go Outdated Show resolved Hide resolved
share/shwap/row_namespace_data.go Show resolved Hide resolved
@walldiss walldiss merged commit c78f081 into celestiaorg:shwap Jun 10, 2024
27 checks passed
walldiss added a commit that referenced this pull request Jun 17, 2024
Adds middleware to protect AccessorCloser from multiple Closes.

Based on #3425
walldiss added a commit to walldiss/celestia-node that referenced this pull request Jul 6, 2024
Adds generalised testing framework for file interface implementaions

Also adds non-inclusion proofs handling in RowNamespaceDataFromShares
and closes celestiaorg#3428
walldiss added a commit to walldiss/celestia-node that referenced this pull request Jul 6, 2024
Adds middleware to protect AccessorCloser from multiple Closes.

Based on celestiaorg#3425
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feat Attached to feature PRs shwap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants