Page MenuHomePhabricator

Attempt to add json tests for BIN2NUM and NUM2BIN, but blocked by various bugs. This diff contains a few fixes to said bugs, but doesn't solve the entire picture.
AbandonedPublic

Authored by schancel on Mar 18 2018, 07:20.

Details

Reviewers
deadalnix
shadders
jasonbcox
Group Reviewers
Restricted Project
Summary

Working on top of D1103. Attempts to fix various bugs.

Test Plan

make check, but this fails currently

Diff Detail

Repository
rABC Bitcoin ABC
Branch
arcpatch-D1103
Lint
Lint Passed
SeverityLocationCodeMessage
Auto-Fixsrc/test/script_tests.cpp:1CFMTCode style violation
Unit
No Test Coverage
Build Status
Buildable 2156
Build 2456: Bitcoin ABC Buildbot (legacy)
Build 2455: arc lint + arc unit

Event Timeline

src/script/interpreter.cpp
1254

Try catch probably not needed, but seeing as CScriptNum can throw exceptions out of the constructor, it might be necessary. If so, it may be necessary all over this file.

schancel edited reviewers, added: jasonbcox; removed: schancel.