-
Notifications
You must be signed in to change notification settings - Fork 971
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(nodebuilder/da): implement go-da v0.6.1 changes #3750
Conversation
269c6e8
to
9332823
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3750 +/- ##
==========================================
+ Coverage 44.83% 46.49% +1.65%
==========================================
Files 265 314 +49
Lines 14620 18120 +3500
==========================================
+ Hits 6555 8425 +1870
- Misses 7313 8681 +1368
- Partials 752 1014 +262 ☔ View full report in Codecov by Sentry. |
c835b77
to
616465f
Compare
616465f
to
8a4573d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
8a4573d
to
8d8dc56
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
8d8dc56
to
4fe47ba
Compare
d5e9314
to
ad9e636
Compare
ad9e636
to
2ba5c18
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
13ab9e2
to
cb90ad5
Compare
Head branch was pushed to by a user without write access
048e823
to
d3536d4
Compare
This change ensures that if the options byte slice is empty, the parseOptions function returns an empty slice of ConfigOption without proceeding to unmarshal. This prevents potential errors and enhances the function's robustness.
…st loop The reassignment of 'tt' within the loop is unnecessary and redundant. This cleanup simplifies the code and reduces potential confusion during code reviews.
Unskip DA tests in `da_test.go` and correct parameter usage in test functions to ensure accurate comparisons. This allows the full test suite to run and verifies the integrity of the Data Availability logic.
Introduced tests for the SubmitWithOptions method to ensure correct behavior with valid and invalid input. These tests validate the API's handling of well-formed requests and error scenarios, improving the robustness of the DA client.
Anonymous struct used for parsing submit options was extracted as exported struct for better visibility and documentation.
Standardize the JSON keys in the `SubmitOptions` struct to follow snake_case convention. This change ensures consistency in JSON serialization and deserialization across all service methods and tests.
Upgraded the go-da dependency from v0.7.0 to v0.8.0 in go.mod and go.sum.
446cb55
to
2bed37a
Compare
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2024 Celestia Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
Congrats @tzdybal ☝️ 😂 |
Resolves #3743