HWI
HWI copied to clipboard
ColdCard: test_signtx broken
test_signtx has been temporarily disabled by #795. It failed with:
ERROR: coldcard: test_signtx (test_device.TestSignTx.test_signtx) (addrtypes=['legacy'], multisig_types=['legacy'], external=True, op_return=False)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/__w/HWI/HWI/test/test_device.py", line 588, in test_signtx
self._test_signtx(addrtypes, multisig_types, external, op_return)
File "/__w/HWI/HWI/test/test_device.py", line 576, in _test_signtx
self._generate_and_finalize(True, psbt)
File "/__w/HWI/HWI/test/test_device.py", line 403, in _generate_and_finalize
self.assertTrue(first_sign_res["signed"])
~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'signed'
cc @brunoerg
I'm taking a look at it.
As far as I could debug, it seems an issue on the multisig wallet: {'error': 'Coldcard Error: Unknown multisig wallet', 'code': -7}
test_big_tx is broken here as well.
======================================================================
FAIL: coldcard: test_big_tx (test_device.TestSignTx)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/brunogarcia/projects/HWI/test/test_device.py", line 610, in test_big_tx
self.fail('Big tx did not cause CLI to error')
AssertionError: Big tx did not cause CLI to error
test_big_tx is broken here as well.
Indeed I disabled them both in #795