mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-10 20:36:31 +00:00
1f774c01a2
* 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
44 lines
1.3 KiB
Nim
44 lines
1.3 KiB
Nim
# Nimbus
|
|
# Copyright (c) 2018-2019 Status Research & Development GmbH
|
|
# Licensed under either of
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
|
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
|
|
|
import ../test_macro
|
|
|
|
{. warning[UnusedImport]:off .}
|
|
|
|
cliBuilder:
|
|
import ./test_code_stream,
|
|
./test_accounts_cache,
|
|
./test_gas_meter,
|
|
./test_memory,
|
|
./test_stack,
|
|
./test_genesis,
|
|
./test_precompiles,
|
|
./test_generalstate_json,
|
|
./test_tracer_json,
|
|
./test_persistblock_json,
|
|
./test_rpc,
|
|
./test_op_arith,
|
|
./test_op_bit,
|
|
./test_op_env,
|
|
./test_op_memory,
|
|
./test_op_misc,
|
|
./test_op_custom,
|
|
./test_state_db,
|
|
./test_difficulty,
|
|
./test_transaction_json,
|
|
./test_blockchain_json,
|
|
./test_forkid,
|
|
../stateless/test_witness_keys,
|
|
../stateless/test_block_witness,
|
|
../stateless/test_witness_json,
|
|
./test_misc,
|
|
./test_graphql,
|
|
./test_lru_cache,
|
|
./test_clique,
|
|
./test_pow,
|
|
./test_configuration
|