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
tests
TODO: more GeneralStateTest fixtures!