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
..
2021-09-29 10:55:31 +07:00
2019-10-31 06:17:01 +01:00
2021-12-10 13:40:51 +00:00
2021-12-10 13:40:51 +00:00
2021-12-10 13:40:51 +00:00
2021-01-11 14:54:55 +07:00

tests

TODO: more GeneralStateTest fixtures!