Closed vladimirfomene closed 6 months ago
Totals | |
---|---|
Change from base Build 8166942496: | -0.04% |
Covered Lines: | 909 |
Relevant Lines: | 1072 |
@vladimirfomene I got curious, did the CI suddenly start failing?
@oleonardolima is failing because some dependencies have been updated so we have to pin them to make sure we are able to build with our MSRV
@oleonardolima is failing because some dependencies have been updated so we have to pin them to make sure we are able to build with our MSRV
Oh, thanks! I saw that the rustls dependency version got yanked, and lead to this 😅
@vladimirfomene through a re-review and some manual tests here, I saw that a fn and a test still expect the old parameter signature, and would need to be updated as well:
Please rebase to pick up changes in #69 that fix CI.
The recent updates involve modifying the get_fee_estimates
method in both the AsyncClient
and BlockingClient
to use u16
instead of String
as the key type for confirmation targets in the returned HashMap
. Additionally, the convert_fee_rate
function now also expects a HashMap
with u16
keys. These changes streamline the handling of fee rate estimates, aligning data types with external sources like electrs
.
Files | Change Summary |
---|---|
src/async.rs , src/blocking.rs |
Updated get_fee_estimates to return HashMap<u16, f64> for confirmation targets. |
src/lib.rs |
Adjusted convert_fee_rate to accept HashMap<u16, f64> and updated processing logic. |
Objective | Addressed | Explanation |
---|---|---|
Keys in feerates mapping should be u16 , not String . (#64) |
✅ |
In the realm of code, where the bits do hop,
A rabbit worked, with no intent to stop.
🐇💻 With a leap and a bound, it refined its craft,
Changing strings to numbers, with its latest draft.
"U16!", it cheered, with a joyful tone,
For in the world of types, a seed was sown.
🌟✨ Through the digital fields, it danced with glee,
Celebrating the change, for all to see.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
FYI I had to rebase this since #75 was merged.
Fixes #64.
Summary by CodeRabbit