nimbus-eth1/tests
Jordan Hrycaj a49a812879
Jordan/fix some failing nohive tests (#727)
* continue importing rlp blocks

why:
  a chain of blocks to be imported might have legit blocks
  after rejected blocks

details:
  import loop only stops if the import list is exhausted or if there
  was a decoding error. this adds another four to the count of successful
  no-hive tests.

* verify DAO marked extra data field in block header

why:
  was ignored, scores another two no-hive tests

* verify minimum required difficulty in header validator

why:
  two more nohive tests to succeed

details:
  * subsumed extended header tests under validateKinship() and renamed it
    more appropriately validateHeaderAndKinship()
  * enhanced readability of p2p/chain.nim
  * cleaned up test_blockchain_json.nim

* verify positive gasUsed unless no transactions

why:
  solves another to nohive tests

details:
  straightened test_blockchain_json chech so there is no unconditional
  rejection anymore (based on the input test  scenario)
2021-06-24 16:29:21 +01:00
..
customgenesis fixes crappy custom genesis and chain config parser 2021-05-13 16:04:08 +07:00
fixtures bump ethereum/tests submodule 2021-05-17 01:30:44 +07:00
graphql fixes some of graphql resolver 2021-06-17 18:18:28 +07:00
keystore implement more eth rpc and keystore management 2020-07-23 14:54:32 +07:00
rpcclient replace all unittest usage with unittest2 2021-06-21 20:30:01 +07:00
test_clique maintenance update 2021-06-17 08:03:57 +01:00
README.md integrate GeneralStateTest runner into CI with 775 running tests (#153) 2018-09-19 16:46:14 +00:00
all_tests.nim reintegrate test_rpc back into all_tests 2021-06-22 08:32:32 +07:00
asynctest.nim replace all unittest usage with unittest2 2021-06-21 20:30:01 +07:00
macro_assembler.nim EVM: Remove `vm_forks` everywhere, use common forks list instead 2021-06-08 15:36:31 +01:00
nim.cfg unittest2 (parallelism disabled) 2019-10-31 06:17:01 +01:00
persistBlockTestGen.nim reduce warnings 2020-07-21 13:15:06 +07:00
test_allowed_to_fail.nim reenable EIP-2565: modExp gas cost 2021-05-17 01:28:31 +07:00
test_blockchain_json.nim Jordan/fix some failing nohive tests (#727) 2021-06-24 16:29:21 +01:00
test_clique.nim maintenance update 2021-06-17 08:03:57 +01:00
test_code_stream.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_config.nim EVM: Remove `vm_types2` everywhere, use common forks list instead 2021-06-08 15:36:31 +01:00
test_difficulty.nim EVM: Remove `vm_types2` everywhere, use common forks list instead 2021-06-08 15:36:31 +01:00
test_forkid.nim drop PublicNetwork enum usage and replace it with NetworkId 2021-05-20 14:04:16 +07:00
test_gas_meter.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_generalstate_json.nim EVM: Remove `vm_forks` everywhere, use common forks list instead 2021-06-08 15:36:31 +01:00
test_genesis.nim fixes crappy custom genesis and chain config parser 2021-05-13 16:04:08 +07:00
test_graphql.nim replace all unittest usage with unittest2 2021-06-21 20:30:01 +07:00
test_helpers.nim EVM: Remove `vm_types2` everywhere, use common forks list instead 2021-06-08 15:36:31 +01:00
test_lru_cache.nim Deep copy semantics for LRU cache 2021-05-26 11:12:52 +01:00
test_memory.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_misc.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_op_arith.nim unittest2 (parallelism disabled) 2019-10-31 06:17:01 +01:00
test_op_bit.nim unittest2 (parallelism disabled) 2019-10-31 06:17:01 +01:00
test_op_custom.nim reduce warnings 2020-07-21 13:15:06 +07:00
test_op_env.nim reduce warnings 2020-07-21 13:15:06 +07:00
test_op_memory.nim fix macro_assembler -> add call to acounts_cache.persist 2020-06-01 13:58:14 +07:00
test_op_misc.nim disable EIP-2315: Simple Subroutines for the EVM 2021-05-17 01:29:03 +07:00
test_persistblock_json.nim fixes evmc bug and add github action job to test evmc 2021-01-20 11:50:07 +07:00
test_precompiles.nim Tests: Disable precompile fixtures when ENABLE_EVMC=1 2021-06-08 18:29:40 +01:00
test_rpc.nim reintegrate test_rpc back into all_tests 2021-06-22 08:32:32 +07:00
test_stack.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_state_db.nim access list implementation 2021-01-11 14:54:55 +07:00
test_tools_build.nim drop PublicNetwork enum usage and replace it with NetworkId 2021-05-20 14:04:16 +07:00
test_tracer_json.nim reduce unused import warnings 2020-04-15 19:05:57 +07:00
test_transaction_json.nim fixes test codes to deal with eth_tests submodule 2021-01-06 17:02:19 +07:00
tracerTestGen.nim reduce warnings 2020-07-21 13:15:06 +07:00

README.md

tests

TODO: more GeneralStateTest fixtures!