nimbus-eth1/tests/test_aristo
Jordan Hrycaj 71c91e2280
Aristo db refactor tx paradim (#1674)
* Better error handling

why:
  Bail out on some error as early as possible before any changes.

* Implement `fetch()` as opposite of `merge()`

rationale:
  In the `Aristo` realm, the action named `fetch()` and `merge()` indicate
  leaf value related actions on the MPT, while actions `get()` and `put()`
   handle vertex or hash key related operations that constitute the MPT.

* Re-factor `merge()` prototypes

why:
  The most used variant of `merge()` should have the simplest prototype.

* Persistent DB constructor needs to import `aristo/aristo_init/persistent`

why:
  Most applications use memory DB anyway. This avoids linking `-lrocksdb`
  or any other back end libraries by default.

* Re-factor transaction module

why:
  Got the paradigm wrong. The transaction descriptor did replace the
  database one but should be handled separately.
2023-08-07 18:45:23 +01:00
..
notused Aristo db transaction based interface (#1628) 2023-07-05 14:50:11 +01:00
test_aristo_cache.nim Aristo db traversal helpers (#1638) 2023-07-13 00:03:14 +01:00
test_backend.nim Aristo db refactor tx paradim (#1674) 2023-08-07 18:45:23 +01:00
test_helpers.nim Extended data Payload specs for the backend. (#1630) 2023-07-05 21:27:48 +01:00
test_transcode.nim Aristo db refactor tx paradim (#1674) 2023-08-07 18:45:23 +01:00
test_tx.nim Aristo db refactor tx paradim (#1674) 2023-08-07 18:45:23 +01:00