nimbus-eth1/tests
Ștefan Talpalaru 115843487c
general-state testsuite changes and better fork selection
- skipped the tests in allowedFailInCurrentBuild()
- replaced doAssert() with check() in testFixtureIndexes() so we can see
  both hash values on failure
- checking filename extension for JSON tests to avoid editor swap files
- replaced the duplicated block values in the main net's ChainConfig
  with values from forkBlocks
- allowed overriding the current fork in computations, because the old
  strategy of only looking at the block number doesn't work with JSON tests
  where the block number is usually 1
- explicitly pass the fork to gasCosts() and use it for conditional cost
  calculation
- fixed a logic error in the CREATE opcode
- fixed VM selection based on current fork in updateOpcodeExec()
- single point of control for supported forks in tests (just one fork, at the
  moment)
- 44 new test failures (that were probably passing for the wrong reasons)
2018-12-07 18:18:29 +01:00
..
fixtures Modexp fix example 1 (returned to early for ints of length 1) 2018-12-04 12:49:48 +01:00
rpcclient Update return types 2018-11-28 22:27:15 +00:00
README.md integrate GeneralStateTest runner into CI with 775 running tests (#153) 2018-09-19 16:46:14 +00:00
all_tests.nim Add precompiles to all tests to prevent regressions 2018-12-04 16:32:11 +01:00
test_caching_db_backend.nim Populate the persistent databases with the empty RLP key. 2018-10-05 03:36:48 +03:00
test_code_stream.nim Refactor interpreter dispatch (#65) 2018-07-06 09:52:31 +02:00
test_gas_meter.nim replace logging module with nim-chronicles (fixes #38) 2018-08-29 16:13:03 -06:00
test_generalstate_failing.nim general-state testsuite changes and better fork selection 2018-12-07 18:18:29 +01:00
test_generalstate_json.nim general-state testsuite changes and better fork selection 2018-12-07 18:18:29 +01:00
test_genesis.nim add missing module import 2018-10-19 09:42:32 -07:00
test_helpers.nim general-state testsuite changes and better fork selection 2018-12-07 18:18:29 +01:00
test_memory.nim Refactor interpreter dispatch (#65) 2018-07-06 09:52:31 +02:00
test_opcode.nim Merge branch 'call-fixes-precompiles' 2018-11-12 15:57:54 +00:00
test_precompiles.nim Reactivate the precompiles test + consume gas 2018-12-04 15:52:59 +01:00
test_rpc.nim Add genesis block 2018-11-28 21:57:10 +00:00
test_stack.nim Delete utilities: address, padding, bytes (#68) 2018-07-06 17:08:31 +02:00
test_storage_backends.nim Implement a --datadir command-line options 2018-09-25 02:06:20 +03:00
test_vm_json.nim Populate the persistent databases with the empty RLP key. 2018-10-05 03:36:48 +03:00

README.md

tests

TODO: more GeneralStateTest fixtures!