-
Notifications
You must be signed in to change notification settings - Fork 913
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
pytest: test_sign_and_send_psbt
is flaky under elementsd
#3998
Comments
cdecker
added a commit
to cdecker/lightning
that referenced
this issue
Sep 1, 2020
This test is flaky because the generated PSBT seems to not have the change output adjusted, or it is missing. Tracking-Issue: ElementsProject#3998
cdecker
added a commit
to cdecker/lightning
that referenced
this issue
Sep 1, 2020
This test is flaky because the generated PSBT seems to not have the change output adjusted, or it is missing. Tracking-Issue: ElementsProject#3998
cdecker
added a commit
to cdecker/lightning
that referenced
this issue
Sep 1, 2020
This test is flaky because the generated PSBT seems to not have the change output adjusted, or it is missing. Tracking-Issue: ElementsProject#3998
cdecker
added a commit
to cdecker/lightning
that referenced
this issue
Sep 6, 2020
This test is flaky because the generated PSBT seems to not have the change output adjusted, or it is missing. Tracking-Issue: ElementsProject#3998
niftynei
added a commit
to niftynei/lightning
that referenced
this issue
Sep 9, 2020
fundpsbt / utxopsbt create a (typically) output-less PSBT, however for elements we require the fees to be encapsulated in an output. this patch updates fundpsbt / utxopsbt to add a fee output for elements transactions. includes test updates. Fixes ElementsProject#3998
niftynei
added a commit
to niftynei/lightning
that referenced
this issue
Sep 9, 2020
fundpsbt / utxopsbt create a (typically) output-less PSBT, however for elements we require the fees to be encapsulated in an output. this patch updates fundpsbt / utxopsbt to add a fee output for elements transactions. includes test updates. Fixes ElementsProject#3998
niftynei
added a commit
to niftynei/lightning
that referenced
this issue
Sep 9, 2020
fundpsbt / utxopsbt create a (typically) output-less PSBT, however for elements we require the fees to be encapsulated in an output. this patch updates fundpsbt / utxopsbt to add a fee output for elements transactions. includes test updates. Fixes ElementsProject#3998
rustyrussell
pushed a commit
that referenced
this issue
Sep 9, 2020
fundpsbt / utxopsbt create a (typically) output-less PSBT, however for elements we require the fees to be encapsulated in an output. this patch updates fundpsbt / utxopsbt to add a fee output for elements transactions. includes test updates. Fixes #3998
rustyrussell
pushed a commit
that referenced
this issue
Sep 9, 2020
This test is flaky because the generated PSBT seems to not have the change output adjusted, or it is missing. Tracking-Issue: #3998
vibhaa
pushed a commit
to spider-pcn/lightning
that referenced
this issue
Mar 24, 2021
This test is flaky because the generated PSBT seems to not have the change output adjusted, or it is missing. Tracking-Issue: ElementsProject#3998
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
test_sign_and_send_psbt
is flaking out if running againstelementsd
withTEST_NETWORK=liquid-regtest
:{ 'code': -1, 'message': 'Error broadcasting transaction: error code: -26\\nerror message:\\nbad-txns-in-ne-out, value in != value out (code 16). Unsent tx discarded 020000000104c1164183df5e99cb01ccdd5d7aefa64f0c6faf20b19ee2339f699f971443aea50100000000fdffffffd9f383031bf64c50b694996fedcf44d6f873012ce9e54f85fbf62ec5302a23de0000000017160014d6b969d36dffdad9869193f663ee480dfdc73488fdffffff8646ad306a8d97fe28e79c475ad7c9cb0f974f740af66641661ba030c7725e2c0000000000fdffffff37405d7c52be9e298b4e23215b802c3c5fda9f4ee68790f6abcf5541c98e3fd30000000017160014c2ccab171c2a5be9dab52ec41b825863024c5466fdffffff01015ce7b963d37f8f2d51cafbba928aaa9e220b8bbc660571499c03628a3851b8ce0100000000002dc6c00016001494330327f78475154097c0bdff852653c3458df6000000000000024730440220650a853bd616750e79f8ee2b0c01bd6ae9975d44a25fc6f95b5ebb9ac5c7d8db02201a9494e55cdcabbd52f409a39591d28701418046ca319b8a83e7364db775c2af012102272a9a25f1ffed52fab04a2cc88aeab135b53723856a8f1481c26417f88a922e00000002473044022019758d75cdff7faa978af61e07088aebb4c037f9304f3480929be35e8ae7bc6d02204785dbb6788d8f066f022722f9ef7dee0733e3f9e280845cc76e1d2622520888012102b9c0c6844e12a531c968e55c55078ec16d9bf76be9290fd87d1cca72b4839a1700000002473044022012bc958d57473cbec4dde347a2915eb89aae76d0d91ef8056463e5a48de216de022042f41406477b1f6e7bef70e5e81ec9b3cc83c7635075c0594d845a3110296612012103d745445c9362665f22e0d96e9e766f273f3260dea39c8a76bfa05dd2684ddccf00000002473044022078f423936da7c3f988d1c43ff1b68dc82b6572d8edb991331db761e4e1812eaa022000f2048daa9ea2ec8be48102630bde67a4377807e4bc86b2582c3232b6f3e137012103914532812a440a4d766c71cd39193694a340ae11e012e5ba1ad9efba6e76ca53000000' }
It seems that the change output is not set to the remainder of the inputs, and
thus results in an invalid transaction.
I disabled the test for the time being to get coverage of the test
configuration with
elementsd
working, but it'd be good to be able tore-enable it at some time.
The full logs of this run can be found here.
A secondary failure may also provide some more information about why this is failing:
Though I'm not sure they're related. Full logs here
The text was updated successfully, but these errors were encountered: