forked from ark-network/ark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[common] Increase test cases for DecodeClosure (ark-network#402)
* test(script-decode): add test cases for multisig closure script * test(csvMultisig): add tests for csv multisig decode func * test(scriptClosureDecode): use single test, make named runs * test(scriptDecode): add CLSV multisig closure test cases * test(scriptDecode): * test(decodeClosure): update run name * test(script-decode): use hex locktime * test(closure-decode): simplify test messages * test(script-decode): turn off parallel test runs * test(script-decode): use require instead of Errorf Co-authored-by: Pietralberto Mazza <[email protected]> Signed-off-by: David S <[email protected]> * test(decode-script): use else instead of continue (missplaced continue not in for comp error) * test(decode-script): move vars to consts outside func closure --------- Signed-off-by: David S <[email protected]> Co-authored-by: Pietralberto Mazza <[email protected]>
- Loading branch information
Showing
1 changed file
with
284 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters