-
Notifications
You must be signed in to change notification settings - Fork 417
deps(bdk_testenv): bump electrsd to 0.36.1
#1826
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
base: master
Are you sure you want to change the base?
deps(bdk_testenv): bump electrsd to 0.36.1
#1826
Conversation
|
It looks like I'll need to open a PR on corepc-client to add I'll do the same in |
af3988d to
b4d655a
Compare
ef27736 to
f52f04d
Compare
|
@oleonardolima I noticed that the |
Yes, it was added a few releases after I started this PR, but IIRC some other methods were missing too. I'll check that again. |
Seems to be lacking good support for |
|
Once #1988 lands, we won't be relying on |
f52f04d to
e8fc019
Compare
It appears that other methods are missing in the corepc-client at electrsd |
2ab640d to
366c9d9
Compare
As of the latest v0.35 release, it appears that all the necessary methods are implemented in It requires a more significant refactor and changes for the |
|
Replaying a comment from discord
|
|
We may be able to unblock this by having a way to create a new RPC client using the node credentials of a |
Cool, I'll take a look at your PR this morning. |
366c9d9 to
a2784f5
Compare
Alright, but if I got it right, the idea would to still rely on |
Thanks for the suggestion, I'll cherry-pick this one and update the remaining tests. |
|
Also, it looks like the latest one is v0.36.1, I'll give it a try on that one too. |
The approach I had in mind is to bump |
33be1c7 to
a83a8fe
Compare
|
AFAICT the only blocker now is: rust-bitcoin/corepc#425 |
a83a8fe to
62d9c07
Compare
- add `ClientExt` trait to it's own common module. - update the `bdk_bitcoind_rpc` lib.rs tests to use `ClientExt`. - update the `bdk_bitcoind_rpc` test_emitter.rs tests to use `ClientExt`. - update the `bdk_bitcoind_rpc` test_filter_iter.rs tests to use `ClientExt`.
- add new methods `list_unspent` and `get_raw_transaction_verbose` to `TestEnv`, it's need as they require specific arguments in the call, that are not available in corepc API.
fd8926d to
10baef9
Compare
electrsd to 0.31.0electrsd to 0.36.1
It's not a block anymore, by using the latest |
partially addresses #1949
Description
It upgrades the
electrsdversion from0.28.0to0.36.1, migrating from oldbitcoindtocorepc-nodeand using thecorepc-node_28_2feature.Updates the
bitcoindclient type forTestEnv, and its internal methods. Also, updates: bdk_bitcoind_rpc, bdk_esplora, bdk_electrum usage ofbdk_testenvandTestEnv.Notes to the reviewers
As we are upgrading to the latest
electrsd, we can drop for now the pinning forhomein the MSRV step.Also for both
list_unspentandget_raw_transaction_verbosecorepc-client APIs didn't support some required arguments in some of the tests. That said, I implemented our own RPC calls as two new methods inTestEnv.Changelog notice
TBD
Checklists
All Submissions:
cargo fmtandcargo clippybefore committingNew Features: