-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trie: cache encoding of nodes on disk #2322
Comments
@qdm12 same with this, do we still need this? |
This is no longer needed, having the whole state trie (and deltas from forks before finalization) does not use much memory (~100MB at the tip). See #1973 for an update on memory usage. Let's close this for now, we can re-open later when we need it (i.e. for parachains with superfat tries) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Task summary
For now we cache the encoding of trie nodes in memory for every node.
We should instead write the cached encoding to disk and fetch it from disk when needed.
The text was updated successfully, but these errors were encountered: