nimbus-eth1/tests
Jordan Hrycaj 1f774c01a2
Jordan/accounts cache scenario (#904)
* crash test scenario

details:
  Example code for inspecting nested block chain and accounts cache
  database transaction framework. There seems to be a pathological
  case where the system crashes after a rollback (as appeared in the
  tx-pool packer code.)

* simplified crash scenario

* Workable solution (as suggested by Andri)

details:
  Avoiding db.rollback() (db.commit() is OK) while vmState.stateDB is
  alive.

* Rename text_txcrash => test_accounts_cache

why:
  Unit tests covers part of accounts_cache handling

* comment update
2021-12-13 11:58:05 +00:00
..
bootstrap config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00
customgenesis config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00
fixtures bump ethereum/tests fixtures 2021-09-29 10:55:31 +07:00
graphql unify evm call for both json-rpc and graphql 2021-10-31 12:24:40 +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 config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00
test_pow Jordan/pow cache management (#888) 2021-12-10 08:49:57 +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 Jordan/accounts cache scenario (#904) 2021-12-13 11:58:05 +00:00
asynctest.nim replace all unittest usage with unittest2 2021-06-21 20:30:01 +07:00
macro_assembler.nim move stateDB from VMState to chainDB 2021-10-28 18:57:08 +07:00
nim.cfg unittest2 (parallelism disabled) 2019-10-31 06:17:01 +01:00
persistBlockTestGen.nim config: replace stdlib parseOpt with nim-confutils 2021-09-18 17:34:46 +07:00
test_accounts_cache.nim Jordan/accounts cache scenario (#904) 2021-12-13 11:58:05 +00:00
test_allowed_to_fail.nim Tests: Add loopMul.json and loopExp.json to skipped, slow tests 2021-08-03 15:03:05 +01:00
test_blockchain_json.nim Arrow Glacier fork 2021-12-10 13:40:51 +00:00
test_clique.nim config: replace stdlib parseOpt with nim-confutils 2021-09-18 17:34:46 +07: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_configuration.nim config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00
test_difficulty.nim config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00
test_forkid.nim Arrow Glacier fork 2021-12-10 13:40:51 +00: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 move stateDB from VMState to chainDB 2021-10-28 18:57:08 +07:00
test_genesis.nim config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00
test_graphql.nim Arrow Glacier fork 2021-12-10 13:40:51 +00:00
test_helpers.nim config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00
test_lru_cache.nim Feature/implement poa processing (#748) 2021-07-14 16:13:27 +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 config: replace stdlib parseOpt with nim-confutils 2021-09-18 17:34:46 +07:00
test_op_arith.nim make macro_assembler to use the same testEvmCall 2021-10-14 15:10:12 +07:00
test_op_bit.nim make macro_assembler to use the same testEvmCall 2021-10-14 15:10:12 +07:00
test_op_custom.nim make macro_assembler to use the same testEvmCall 2021-10-14 15:10:12 +07:00
test_op_env.nim make macro_assembler to use the same testEvmCall 2021-10-14 15:10:12 +07:00
test_op_memory.nim make macro_assembler to use the same testEvmCall 2021-10-14 15:10:12 +07:00
test_op_misc.nim make macro_assembler to use the same testEvmCall 2021-10-14 15:10:12 +07:00
test_persistblock_json.nim config: rearrange getConfiguration usage 2021-09-08 08:07:10 +07:00
test_pow.nim Jordan/pow cache management (#888) 2021-12-10 08:49:57 +00:00
test_precompiles.nim move stateDB from VMState to chainDB 2021-10-28 18:57:08 +07:00
test_rpc.nim unify evm call for both json-rpc and graphql 2021-10-31 12:24:40 +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 config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00

README.md

tests

TODO: more GeneralStateTest fixtures!