nimbus-eth1/tests/test_aristo
Jordan Hrycaj 8727307ef4
Aristo uses pre classified tree types cont1 (#2389)
* Provide dedicated functions for deleteing accounts and storage trees

why:
  Storage trees are always linked to an account, so there is no need
  for an application to fiddle about (e.g. re-cycling, unlinking)
  storage tree vertex IDs.

* Remove `delete()` and other cruft from API, `aristo_delete`, etc.

* clean up delete functions

details:
  The delete implementations `deleteImpl()` and `delTreeImpl()` do not
  need to be super generic anymore as all the edge cases are covered by
  the specialised `deleteAccountPayload()`, `deleteGenericData()`, etc.

* Avoid unnecessary re-calculations of account keys

why:
  The function `registerAccountForUpdate()` did extract the storage ID
  (if any) and automatically marked the Merkle keys along the account
  path for re-hashing.

  This would also apply if there was later detected that the account
  or the storage tree did not need to be updated.

  So the `registerAccountForUpdate()` function was split into a part
  which retrieved the storage ID, and another one which marked the
  Merkle keys for re-calculation to be applied only when needed.
2024-06-18 19:30:01 +00:00
..
sample0.txt.gz Remove obsolete tests (#2307) 2024-06-06 09:29:38 +00:00
sample1.txt.gz Remove obsolete tests (#2307) 2024-06-06 09:29:38 +00:00
sample2.txt.gz Remove obsolete tests (#2307) 2024-06-06 09:29:38 +00:00
sample3.txt.gz Remove obsolete tests (#2307) 2024-06-06 09:29:38 +00:00
test_filter.nim Aristo uses pre classified tree types (#2385) 2024-06-18 11:14:02 +00:00
test_helpers.nim Aristo uses pre classified tree types cont1 (#2389) 2024-06-18 19:30:01 +00:00
test_misc.nim Remove vid recycling feature (#2294) 2024-06-04 15:05:13 +00:00
test_samples_xx.nim Remove obsolete tests (#2307) 2024-06-06 09:29:38 +00:00
test_tx.nim Aristo uses pre classified tree types cont1 (#2389) 2024-06-18 19:30:01 +00:00