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! Change ComputeExtendedDataSquare argument from TreeConstructorFn to string #278

Closed

Conversation

sontrinh16
Copy link
Contributor

Overview

  • As mention in this comment and this comment
  • This PR help track the breaking changes of the code

Changes

  • Replace ComputeExtendedDataSquare TreeConstructorFn type argument to a string type represent the treeName

Checklist

  • New and updated code has appropriate documentation
  • New and updated code has new and/or updated testing
  • Required CI checks are passing
  • Visual proof for any user facing features like CLI or documentation updates
  • Linked issues closed with keywords

Copy link

codecov bot commented Dec 15, 2023

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (35d7798) 80.76% compared to head (34a6234) 79.49%.

Files Patch % Lines
tree.go 53.33% 4 Missing and 3 partials ⚠️
extendeddatasquare.go 53.84% 4 Missing and 2 partials ⚠️
default_tree.go 90.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #278      +/-   ##
==========================================
- Coverage   80.76%   79.49%   -1.27%     
==========================================
  Files           7        8       +1     
  Lines         806      839      +33     
==========================================
+ Hits          651      667      +16     
- Misses        112      123      +11     
- Partials       43       49       +6     

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

@sontrinh16
Copy link
Contributor Author

sontrinh16 commented Jan 31, 2024

close this in favor of #287

@sontrinh16 sontrinh16 closed this Jan 31, 2024
rootulp added a commit that referenced this pull request Feb 2, 2024
Closes #286 by deleting
`getTreeNameFromConstructorFn`.
Closes #288,
#289 by fixing those tests.
Inspired by #278
Includes two breaking changes:
1. `ComputeExtendedDataSquare` now accepts a parameter `treeName:
string`
2. `ImportExtendedDataSquare` now accepts a parameter `treeName: string`

---------

Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
0xchainlover pushed a commit to celestia-org/rsmt2d that referenced this pull request Aug 1, 2024
Closes celestiaorg/rsmt2d#286 by deleting
`getTreeNameFromConstructorFn`.
Closes celestiaorg/rsmt2d#288,
celestiaorg/rsmt2d#289 by fixing those tests.
Inspired by celestiaorg/rsmt2d#278
Includes two breaking changes:
1. `ComputeExtendedDataSquare` now accepts a parameter `treeName:
string`
2. `ImportExtendedDataSquare` now accepts a parameter `treeName: string`

---------

Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant