mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 05:57:59 +01:00
afd9a673c4test: roundtrip wallet backwards compat downgrade (Andrew Chow)bbf43c63b9test: Add 25.0 to wallet backwards compatibiilty test (Andrew Chow)538939ec39test: Run upgrade test on all nodes (Andrew Chow)6d4699028btest: Run downgrade test on descriptor wallets (Andrew Chow)f158573be1test: Add 0.21 tr() incompatibility test (Andrew Chow)f41215c3f0test: add logging 0.17 incompatibilities in wallet back compat (Andrew Chow)71c03aeff7test: Refactor v19 addmultisigaddress test to be distinct (Andrew Chow)53f35d02cbtest: Remove w1_v18 from wallet backwards compatibility (Andrew Chow)313d665437test: Fix 0.16 wallet paths and downgrade test (Andrew Chow)5d8469362atest: Add helper functions for checking node versions (Andrew Chow) Pull request description: It was somewhat surprising to me that wallet_backwards_compatibility.py did not catch #27915 since the purpose of the test is to find downgrade issues such as that. It turns out the test was deficient in several places when it came to testing descriptor wallets, as well as deficient in addition to failing to correctly test some releases. This PR fixes these test cases, adds more informative logging, slightly refactors the entire test in order to better test future versions, and adds a 25.0 node to the test. Notable changes: * The compatibility test with 0.16 should not have been passing. The wallets were being copied incorrectly for 0.16 and resulting in 0.16 creating new wallets rather than testing the target wallets. * The downgrade test will actually be run on descriptor wallets and it will test that downgrades are successful, and a subsequent upgrade is also successful. This catches #27915. * The upgrade and downgrade test will be run on all versions up to master, rather than just 0.16, 0.17, and 0.19. ACKs for top commit: Sjors: re-ACKafd9a673c4furszy: ACKafd9a67Tree-SHA512: dd2d85cab29a636da93020681c533534af4a9cda18d8550c9db9d8937719b3a225025966981c5d4d2f30486448a772b760f0e723a25ea6bc49df80387dc7b8b0
18 KiB
Executable File
18 KiB
Executable File