Repository navigation
Conversation
fa2c776 to
fa8038a
Compare
89f8387 to
72d3263
Compare
72d3263 to
3660f6f
Compare
|
3660f6f to
cc78e39
Compare
|
After this afea381 in v26.06 we were having xpay processing all payments by default. This meant that These tests could have been enabled for
|
c500a89 to
529fff9
Compare
daywalker90
left a comment
There was a problem hiding this comment.
There is still usage of pay in test_invoices.py::test_invoice_deschash
529fff9 to
67837b6
Compare
|
Rebased on top of |
|
@Lagrang3 the tests now fail reliably, due to the deprecation warning. Can you fix these up? |
cdecker
left a comment
There was a problem hiding this comment.
Tests are failing with new deprecation warnings.
adcae60 to
5f68000
Compare
|
5f68000 to
f64beda
Compare
|
rebased |
f64beda to
4a1a75c
Compare
nGoline
left a comment
There was a problem hiding this comment.
CI is red for one reason only: tests/test_opening.py::test_zero_length_upfront_shutdown_script landed on master after your last round and calls l1.rpc.pay() at line 4014 to drain funds to l2. It fails with Command "pay" is deprecated in First Integration, ASan, Valgrind and the BTC v25 job. Switching it to l1.rpc.xpay() in the commit that adds the pay annotation fixes it and keeps that commit green. I scanned the rest of tests/ for pay callers without allow-deprecated-apis and found nothing else live, but Full Integration was skipped on this run, so it still needs one green pass.
With the test fix and the doc version, this is good for 26.12 from my side.
4a1a75c to
ed4956e
Compare
Changelog-None Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
Changelog-Deprecated: Config: option `xpay-handle-pay`, `pay` is deprecated and will be replaced by `xpay` in v27.03, hence `xpay-handle-pay` is not needed anymore. The configuration option will no longer be shown in listconfigs. Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
- add missing deprecation annotation to "pay" command, - fix tests that required allow-deprecated-apis=True in order to continue using "pay", - change "pay" to "xpay" in those tests that are NOT testing "pay" directly but just want to make a payment, - and in tests that could be relevant for both "xpay" and "pay", use both. Changelog-None Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
ed4956e to
441fc9f
Compare
@rustyrussell deprecated
payin #9110, but he forgot to deprecatexpay-handle-pay.This PR deprecates
xpay-handle-payfor v26.09.