Skip to content

Commit b5f580c

Browse files
committed
scripted-diff: adapt script error constant names in feature_taproot.py
In order to remove potential confusion, this commit adapts all script error constant names in the functional tests (currently only in feature_taproot.py) to the ones used in our C++ codebase. This also makes checking whether we have test coverage for a certain script error easier. -BEGIN VERIFY SCRIPT- ren() { sed -i "s|$1|$2|g" $( git grep -l "$1" -- "./test" ) ; } ren ERR_SIG_SIZE ERR_SCHNORR_SIG_SIZE ren ERR_SIG_HASHTYPE ERR_SCHNORR_SIG_HASHTYPE ren ERR_SIG_SCHNORR ERR_SCHNORR_SIG ren ERR_CONTROLBLOCK_SIZE ERR_TAPROOT_WRONG_CONTROL_SIZE ren ERR_PUSH_LIMIT ERR_PUSH_SIZE ren ERR_MINIMALIF ERR_TAPSCRIPT_MINIMALIF ren ERR_UNKNOWN_PUBKEY ERR_PUBKEYTYPE ren ERR_STACK_EMPTY ERR_INVALID_STACK_OPERATION ren ERR_SIGOPS_RATIO ERR_TAPSCRIPT_VALIDATION_WEIGHT ren ERR_UNDECODABLE ERR_BAD_OPCODE ren ERR_NO_SUCCESS ERR_EVAL_FALSE ren ERR_EMPTY_WITNESS ERR_WITNESS_PROGRAM_WITNESS_EMPTY -END VERIFY SCRIPT-
1 parent eba5f9c commit b5f580c

File tree

1 file changed

+98
-98
lines changed

1 file changed

+98
-98
lines changed

0 commit comments

Comments
 (0)