-
Notifications
You must be signed in to change notification settings - Fork 412
Remove usage of blockdata:: from bitcoin paths #3146
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
Conversation
In `rust-bitcoin` the `blockdata` module is a code organisation thing, it should never have been public. One day those guys would like to remove it, so as not to be a PITA for `rust-lighting` when they do lets remove all usage of `blockdata::` now. Internal change only, no externally visible changes.
I can't work out what incantation of |
As one of the idiots that pushed for |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #3146 +/- ##
==========================================
- Coverage 89.83% 89.78% -0.05%
==========================================
Files 121 121
Lines 98900 98900
Branches 98900 98900
==========================================
- Hits 88847 88802 -45
- Misses 7457 7494 +37
- Partials 2596 2604 +8 ☔ View full report in Codecov by Sentry. |
Oh sorry I can't read lol. rustfmt is mad about the ordering of your imports, so you should be able to just reorder imports repeatedly until the CI script passes. |
Sweet, yesterday I thought I'd gone mad but |
I don't believe so? CI on latest git doesn't show any issues on the rustfmt job, the issue here is that removing the |
I'm traveling for the week, I'll come back to this. Thanks |
Any desire to pick this back up? |
Not if I have to re-order all the import statements by hand, sorry man. |
You can rustfmt individual files, but alright, up to you 🤷♂️ |
FWIW I had another go at this and as far as I can tell there are formatting issues on master but reading the workflow I'm confused as to how they got past CI, but you guys have a fair few red PRs right now so I didn't look any further. |
In
rust-bitcoin
theblockdata
module is a code organisation thing, it should never have been public. One day those guys would like to remove it, so as not to be a PITA forrust-lighting
when they do lets remove all usage ofblockdata::
now.Internal change only, no externally visible changes.