enable block witness test
This commit is contained in:
parent
64af577d8d
commit
9c999ffa9c
|
@ -116,7 +116,7 @@ proc runTest(numPairs: int, testStatusIMPL: var TestStatus, useRogueKeys: static
|
||||||
for kd in mkeys.keys:
|
for kd in mkeys.keys:
|
||||||
check kd.visited == true
|
check kd.visited == true
|
||||||
|
|
||||||
proc main() =
|
proc witnesKeysMain() =
|
||||||
suite "random keys block witness roundtrip test":
|
suite "random keys block witness roundtrip test":
|
||||||
randomize()
|
randomize()
|
||||||
|
|
||||||
|
@ -132,4 +132,5 @@ proc main() =
|
||||||
test "rogue address ignored":
|
test "rogue address ignored":
|
||||||
runTest(rand(1..30), testStatusIMPL, useRogueKeys = true)
|
runTest(rand(1..30), testStatusIMPL, useRogueKeys = true)
|
||||||
|
|
||||||
main()
|
when isMainModule:
|
||||||
|
witnessKeysMain()
|
||||||
|
|
|
@ -99,5 +99,6 @@ cliBuilder:
|
||||||
./test_state_db,
|
./test_state_db,
|
||||||
./test_difficulty,
|
./test_difficulty,
|
||||||
./test_transaction_json,
|
./test_transaction_json,
|
||||||
./test_blockchain_json
|
./test_blockchain_json,
|
||||||
|
../stateless/test_witness_keys,
|
||||||
|
../stateless/test_block_witness
|
||||||
|
|
Loading…
Reference in New Issue