feat(test): add legacy descriptor tests#214
feat(test): add legacy descriptor tests#214ValuedMammal merged 17 commits intobitcoindevkit:masterfrom
Conversation
Pull Request Test Coverage Report for Build 15303301662Details
💛 - Coveralls |
9f667ca to
5f9d18c
Compare
5f9d18c to
89643fb
Compare
89643fb to
71ae907
Compare
|
Side note: I think bdk_wallet/wallet/tests/wallet.rs Lines 778 to 785 in 7cdc985 |
ValuedMammal
left a comment
There was a problem hiding this comment.
Code review ACK 71ae907
71ae907 to
80c2752
Compare
|
Should I fix this clippy warning? It's unrelated. |
|
I would say go ahead and change |
dd31471 to
a5d1338
Compare
|
@ValuedMammal fixed. |
|
It looks good overall, tests are passing for me. |
When I updated to a5d1338, the tests failed locally because the compiler was using I temporarily updated the version to 0.32.6, and after that, the compiler used the new version, and the tests passed. I'm uncertain if it's ideal to upgrade to 0.32.6, and I'm curious if anyone else has experienced the same issue. |
|
In a1d58c3: fix: clippy Just noting that I don't think this is actually needed until we update the rust-version of the repo to rust 1.86. But I don't see a problem with including the change anyway. |
Yes, no harm in just preemptively adding this though. |
Yeah, my linter and CI were complaining so I updated it. |
Agree, I opened #238 for this. |
2736c11 to
78eca98
Compare
78eca98 to
833ed78
Compare
..which was accidentally swapped with P2WPKH_FAKE_SIG_SIZE.
Description
This PR closes #134 and is a revival of bitcoindevkit/bdk#1130, which adds the following tests:
test_legacy_bump_fee_no_change_add_input_and_change()test_legacy_bump_fee_add_input()test_legacy_bump_fee_drain_wallet()test_legacy_bump_fee_zero_abs()test_legacy_create_tx_custom_sighash()test_legacy_create_tx_default_sighash()test_legacy_create_tx_absolute_high_fee()test_legacy_create_tx_absolute_zero_fee()test_legacy_create_tx_absolute_fee()test_legacy_create_tx_custom_fee_rate()test_legacy_get_funded_wallet_tx_fee_rate()Changelog:
assert_fee_rate_legacy!macro for legacy transactions.check_fee!macro now returnsAmountinstead ofResult<Amount>.wallet.sent_and_receivedgot destructured to(sent, received)instead ofsent_and_received.{0,1}.SwapTweakedKeypair::to_inner()forTweakedKeypair::to_keypair().Checklists
All Submissions:
cargo fmtandcargo clippybefore committing