-
Notifications
You must be signed in to change notification settings - Fork 253
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
chore!: bump nmt
from v0.13 to v0.14 and remove the codec from NewTxInclusionProof
#1333
Conversation
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 but I think you need to appease the linter first
Good catch. Let's see how this one goes |
Codecov Report
@@ Coverage Diff @@
## main #1333 +/- ##
=======================================
Coverage 48.26% 48.26%
=======================================
Files 77 77
Lines 4397 4397
=======================================
Hits 2122 2122
Misses 2098 2098
Partials 177 177
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
nmt
from v0.13 to v0.14nmt
from v0.13 to v0.14 and remove the codec from NewTxInclusionProof
func NewTxInclusionProof(codec rsmt2d.Codec, data types.Data, txIndex uint64) (types.ShareProof, error) { | ||
func NewTxInclusionProof(data types.Data, txIndex uint64) (types.ShareProof, error) { |
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.
thanks for removing this since we weren't using this!
out of curiosity, was there any reason in node to remove this as well?
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.
To be honest, I have no idea even when node removed this 😓
…TxInclusionProof` (#1333) <!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. --> ## Overview Latest v0.12.0-rc5 is not compliant with what node will have to upcoming v0.7.0-rc`x`, as celestia-node is using nmt `v0.14.0` and dropped v0.13.0 This PR fixes this, hence I propose to make a `v0.12.0-rc6` afterwards 🙏 In addition, this PR cleans up codec from the signature that is not used in `NewTxInclusionProof ` anymore <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. --> ## Checklist <!-- Please complete the checklist to ensure that the PR is ready to be reviewed. IMPORTANT: PRs should be left in Draft until the below checklist is completed. --> - [ ] 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
Overview
Latest v0.12.0-rc5 is not compliant with what node will have to upcoming v0.7.0-rc
x
, as celestia-node is using nmtv0.14.0
and dropped v0.13.0This PR fixes this, hence I propose to make a
v0.12.0-rc6
afterwards 🙏In addition, this PR cleans up codec from the signature that is not used in
NewTxInclusionProof
anymoreChecklist