-
Notifications
You must be signed in to change notification settings - Fork 390
[0.17] QA: Use resgtest2 chain instead of regtest for rpc tests #432
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
[0.17] QA: Use resgtest2 chain instead of regtest for rpc tests #432
Conversation
6a97ac3
to
f0262d7
Compare
0f21093
to
f9d40fc
Compare
Now the -extended tests seem to pass |
798be6b
to
fbf691d
Compare
fbf691d
to
97c3aaa
Compare
The motivation for this is to test the testchains feature? |
It's to be able to create custom testchains like we do in elements-0.14, it also adapts the tests to run with -chain=regtest2, which implies a different genesis block which doesn't satisfy pow. |
Do you want to merge this right away, or wait for final feedback of upstream? LGTM at least! |
Actually that's a good question, while feedback is coming fast in bitcoin core, it seems sensible to keep them as similar as possible and wait here. On the other hand, the bitcoin PR could take too long to get merged or not even get merged, so we don't want to wait forever. So, not sure. |
Perhaps we should just set a deadline and merge by then? This is kind of blocking follow-up PRs. |
97c3aaa
to
ef657ad
Compare
...for unkown chains
...reads params from regular arguments
ef657ad
to
a1e0c56
Compare
ACK if we want to merge it now! |
… tests a1e0c56 QA: Use resgtest2 chain instead of regtest for rpc tests (Jorge Timón) 4454c52 QA: Adapt BitcoinTestFramework for chains other than "regtest" (Jorge Timón) a06be15 Testchains: Introduce custom chain whose constructor... (Jorge Timón) 46749eb Testchains: Qt: Simplify network/chain styles and add a default purple (Jorge Timón) c0c1e38 Testchains: Generic selection with -chain=<str> in addition of -testnet and -regtest (Jorge Timón) 56515c3 9102: Really don't validate genesis block (Gregory Sanders) Pull request description: Backport of bitcoin/bitcoin#8994 The tests seem to pass with: ``` python3 ./test/functional/test_runner.py -j4 --extended ``` Let's please try to keep all general review things on bitcoin/bitcoin#8994 and elements-specific things here. Dependencies: - [x] [0.17] Don't edit Chainparams after initialization #427 - [x] [0.17] Test: Fix example_test.py #434 Tree-SHA512: e216587b6f9d3a462372915e01c8eb3c65a61e4ea29f398e65a7fc03a3ea5676c4711527b5cc2c115893591e7cd5b0ecd2f1fac4faf7ef747a022e2657bc99d4
…from coin selection 10c6929 Include vout when copying transaction ID from coin selection (Samuel Dobson) Pull request description: Fixes ElementsProject#432 I think it makes sense to just add the vout to the existing function because I can't imagine a situation where a user in the coin selection dialog would want just the transaction ID rather than the specific outpoint, and they can just delete it from the end anyway. ACKs for top commit: kristapsk: ACK 10c6929 hebasto: ACK 10c6929, tested on Linux Mint 20.2 (Qt 5.12.8). shaavan: ACK 10c6929 Tree-SHA512: df4d132b6c2fd0b590594e91cf54f82c6c0f77ee9ca06296fb726bc3c52b9ae459ca3b50c48b2bf303ccafe832b6b4dba692a812f439991ca6d807ea0d8df934
Backport of bitcoin/bitcoin#8994
The tests seem to pass with:
Let's please try to keep all general review things on bitcoin/bitcoin#8994 and elements-specific things here.
Dependencies: