115843487c
- 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) |
||
---|---|---|
.. | ||
fixtures | ||
rpcclient | ||
README.md | ||
all_tests.nim | ||
test_caching_db_backend.nim | ||
test_code_stream.nim | ||
test_gas_meter.nim | ||
test_generalstate_failing.nim | ||
test_generalstate_json.nim | ||
test_genesis.nim | ||
test_helpers.nim | ||
test_memory.nim | ||
test_opcode.nim | ||
test_precompiles.nim | ||
test_rpc.nim | ||
test_stack.nim | ||
test_storage_backends.nim | ||
test_vm_json.nim |
README.md
tests
TODO: more GeneralStateTest fixtures!