-
Notifications
You must be signed in to change notification settings - Fork 276
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
Upgrade the vendored libsecp256k1
code to v0.2.0
#567
Upgrade the vendored libsecp256k1
code to v0.2.0
#567
Conversation
Hope I'm not stealing anyones thunder here, I gave you guys a day or two to do it :) |
ccc5d29
to
9907c88
Compare
I think the |
Nice, thanks!! You're not stepping on my thunder -- but yeah, it looks like me (or one of the folks involved with the vendoring patch stuff) will have to dig into it. |
Ah cheers, that's enough info for me to have another play with it. But by all means don't let me hold you back :) |
To mirror recent changes to the `scratch_impl.h` file update the patch file.
9907c88
to
7a515d7
Compare
ok, that took an embarrassingly long time to figure out. I just had to work out how to modify one of the patch files to resemble the code in v0.2.0 - see patch 1 of the PR. |
Lol, we should really document how to generate these patch files ... IIRC I've done it twice, but several times I've just edited the patchfiles directly in vim. |
The commit message shows an old commit ID; it should be 9a8d65f. Otherwise looks good, ACK! |
It was obvious what needed doing, I just never use |
Are you sure, I used the tagged commit. Isn't |
Yeah, the ID in your commit message would've made more sense, but the one you actually used, according to I would accept either one, but right now they're not consistent. |
7a515d7
to
4662d83
Compare
Oh I see what you mean, thanks. I must have botched the Fixed now. |
Looks like you swapped the commit ID and the version # in the script :) |
`libsecp256k1` v0.2.0 was just released. Update the vendored code using `./vendor-libsecp.sh depend 0_8_0 21ffe4b` ``` git show 21ffe4b commit 21ffe4b (tag: v0.2.0) Merge: 8c949f5 e025ccd Author: Pieter Wuille <[email protected]> Date: Mon Dec 12 17:00:52 2022 -0500 Merge bitcoin-core/secp256k1#1055: Prepare initial release e025ccd release: prepare for initial release 0.2.0 (Jonas Nick) 6d1784a build: add missing files to EXTRA_DIST (Jonas Nick) 13bf1b6 changelog: make order of change types match keepachangelog.com (Jonas Nick) b1f992a doc: improve release process (Jonas Nick) ad39e2d build: change package version to 0.1.0-dev (Jonas Nick) 90618e9 doc: move CHANGELOG from doc/ to root directory (Jonas Nick) Pull request description: Based on #964 ACKs for top commit: sipa: ACK e025ccd Tree-SHA512: b9ab71d7362537d383a32b5e321ef44069f00e3e92340375bcd662267bc5a60c2bad60222998e6602cfac24ad65efb23d772eac37c86065036b90ef090b54c49 ``` Requires a new version of `secp256k1-sys`, use v0.8.0 - Update the `secp256k1-sys` manifest (including links field) - Update symbols to use 0_8_0 - Add a changelog entry - depend on the new version in `secp256k1` Which in turn requires a new version of `secp256k1`, use v0.26.0
4662d83
to
2dad589
Compare
Might have been quicker for you to do this one yourself :) |
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.
ACK 2dad589
This bumps
secp256k1
to v0.26.0 andsecp256k1-sys
to v0.8.0libsecp256k1
v0.2.0 was just released.Update the vendored code using
./vendor-libsecp.sh depend 0_8_0 21ffe4b
Requires a new version of
secp256k1-sys
, use v0.8.0secp256k1-sys
manifest (including links field)secp256k1
Which in turn requires a new version of
secp256k1
, use v0.26.0