ChainSafe / ChainSafe/gossamer

trie: check Substrate clear prefix limit matches Gossamer for a nil child

Open
#3,033 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

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

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.