nimbus-eth1/tests/test_aristo
Jordan Hrycaj 3fe0a49a5e
Aristo db allow shorter than 64 nibbles path keys (#1864)
* Aristo: Single `FetchPathNotFound` error in `fetchXxx()` and `hasPath()`

why:
  Missing path hike returns too many detailed reasons why it failed
  which becomes cumbersome to handle.

also:
  Renamed `contains()` => `hasPath()` which disables the `in` operator on
  non-boolean 	`contains()` functions

* Kvt: Renamed `contains()` => `hasKey()`

why:
  which disables the `in` operator on non-boolean 	`contains()` functions

* Aristo: Generalising `HashID` by variable length `PathID`

why:
  There are cases when the `Aristo` database is to be used with
  shorter than 64 nibbles keys when handling transactions indexes
  with sequence IDs.

caveat:
  This patch only works reliable for full length `PathID` values. Tests
  for shorter `PathID` values are currently missing.
2023-10-27 22:36:51 +01:00
..
test_backend.nim Core db update api and fix tracer methods (#1816) 2023-10-11 20:09:11 +01:00
test_filter.nim Aristo db allow shorter than 64 nibbles path keys (#1864) 2023-10-27 22:36:51 +01:00
test_helpers.nim Aristo db allow shorter than 64 nibbles path keys (#1864) 2023-10-27 22:36:51 +01:00
test_misc.nim Core db update api and fix tracer methods (#1816) 2023-10-11 20:09:11 +01:00
test_tx.nim Aristo db allow shorter than 64 nibbles path keys (#1864) 2023-10-27 22:36:51 +01:00