Closed whitslack closed 1 year ago
--enable-standard-secp
isn't relevant here. The python ctest struct definitions in src/test/util.py
include the elements members, so they can't be used as is done in the hash_prevouts test because the accessors are SWIG only.
The real fix is to epxose the accessors and use them in the test as we do for PSBT. I don't have time to get to that immediately so I'll make the test elements-only and add a FIXME.
Raised https://github.com/ElementsProject/libwally-core/issues/388 for the real fix and pushed a change to skip this test for non-elements builds to master.
@jgriffiths: Thank you for so quickly addressing all of these issues. All tests are passing in all configurations now.
The
test_hash_prevouts
test passes when configuring with--enable-elements --disable-standard-secp
(which uses libsecp256k1-zkp at6ec1ff6
) but fails when configuring with--disable-elements --enable-standard-secp
(which uses libsecp256k1 v0.3.1).