ChainSafe / ChainSafe/gossamer
trie: check Substrate clear prefix limit matches Gossamer for a nil child
Open
- Dominant language
- Go
- Stars
- 454
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
For nil child, Gossamer returns the current branch node, with 0 values deleted, 0 nodes deleted and the allDeleted boolean set to true. See the function `clearPrefixLimitChild` used by `ext_storage_clear_prefix_version_2`.
We should check Substrate trie implementation does the same thing.
Contributor guide
Assessment
This issue has not been assessed yet.