ChainSafe / ChainSafe/gossamer
trie: inject database and load from database when decoding a root node
Open
- Dominant language
- Go
- Stars
- 454
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
## Task summary
With #2369 we now handle inline-encoded nodes when decoding. We should move the load-from-database logic in the same decode functions to make it clearer, instead of reporting the node populating downstream. This should make it clearer and simplify the Go API.
Contributor guide
Assessment
This issue has not been assessed yet.