ChainSafe / ChainSafe/gossamer

Child tries deltas are not used

Open
#2,903 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Task summary

Deleted (and soon inserted) node hashes of child tries are not used for pruning.
A solution would be to inject the deltas from the parent trie (map or struct pointer) to the child tries, so they share the same tracking. This is especially important since for pruning, we should track deltas chronologically (i.e. re-inserted nodes) and they are all stored in the same database.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.