Skip to content

Backport #809 to 0.10.x #814

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

Open
wants to merge 5 commits into
base: release-10.x
Choose a base branch
from

Conversation

apoelstra
Copy link
Member

@apoelstra apoelstra commented Apr 29, 2025

Backports #809 to 10.x. This is a direct rebase of #810 except that I added a commit with some lint fixes. (I had been avoiding this, but we've been having a lot of backports lately so I think I ought to just address it.)

After this I will do 11.x.

@apoelstra apoelstra changed the base branch from master to release-11.x April 29, 2025 13:47
@apoelstra apoelstra changed the base branch from release-11.x to release-10.x April 29, 2025 13:48
@apoelstra apoelstra force-pushed the 2025-04--809-for-011 branch from d154264 to 77c7a82 Compare April 29, 2025 21:46
None of these belong in lib.rs, but these in particular have been
changed in rustc so that they now trigger on code that used to be okay.
This prevents me from running tests with recent rustcs on backports.
Just runs `./generate-files.sh`.
When parsing a descriptor with `Descriptor::parse_descriptor`, we first parse
as a string and then parse the keys. We fail to consider parsing errors
in the keys, resulting in a panic.

Also, clean up the panic message so it's clearer what's going on.
@apoelstra apoelstra force-pushed the 2025-04--809-for-011 branch from 77c7a82 to 06400b1 Compare April 29, 2025 21:57
@apoelstra apoelstra changed the title Backport #809 to 0.11.x Backport #809 to 0.10.x Apr 29, 2025
@apoelstra
Copy link
Member Author

I was able to get my local CI to pass on this. It's ready for review.

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