nimbus-eth1/tools/common
Jordan Hrycaj b623909c44
Ledger activate unified accounts cache wrapper (#1939)
* Activate `LedgerRef` wrapper for `AccountsCache`

details:
  `accounts_cache.nim` methods are indirectly processed by the wrapper
  methods from `ledger.nim`.

  This works for all sources except `test_state_db.nim` where the source
  `accounts_cache.nim` is included (rather than imported) in order to
  access objects privy to the very source.

* Provide facility to switch to a preselected `LedgerRef` type

details:
  Can be set as suggestion when initialising `CommonRef`

* Update `CoreDb` test suite for better time tracking

details:
+ Allow time logging by pre-defined block intervals
+ Print `CoreDb`/`Ledger`profiling results (if enabled)
2023-12-12 19:12:56 +00:00
..
helpers.nim Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07:00
state_clearing.nim Ledger activate unified accounts cache wrapper (#1939) 2023-12-12 19:12:56 +00:00
types.nim Fix blobGas fields handling in evmstate 2023-09-22 07:42:58 +07:00