Jordan Hrycaj 01b5c08763
Revive json tracer unit tests (#2538)
* Some `Aristo` clean-ups/updates

* Re-implemented core-db tracer functionality

* Rename nimbus tracer `no-tracer.nim` => `tracer.nim`

why:
  Restore original name for easy diff tracking with upcoming update

* Update nimbus tracer using new core-db tracer functionality

* Updating json tracer unit tests

* Enable json tracer unit tests
2024-08-01 10:41:20 +00:00

19 lines
1.0 KiB
Markdown

* Re-visit `delTree()`. Suggestion is deleting small trees on the memory later,
otherwise only deleting the root vertex (so it becomes inaccessible) and
remember the follow up vertices which can travel through the tx-layers
to be picked up by the backend store.
* Some comletions migh be needed for the `aristo_part` module which is a
re-implementation of the module supporting *proof-mode*/partial trees.
+ Complete `partMergeStorageData()`. This function might not be needed at
all unless *snap-sync* is really revived.
+ For *snap-sync*, write a `proof` function verifying whether the partial
tree is correct relative to the `PartStateRef` descriptor.
+ One might need to re-visit the `removeCompletedNodes()` module when using
*snap-sync* proof features. The algorithm used here assumes that the list
of proof nodes is rather small. Also, a right boundary leaf node is
typically cleared. This needs to be re-checked when writing the `proof`
function mentioned above.
* `aristo_nearby` also qualifies for a re-write, now