This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
[RPC-Spec-V2] Storage: Add support for storage closest merkle descendant #14550
Description
Fetch the Merkel value of the provided key when using the closest-descendant-merkle-value
param.
When the key is not present in the trie, the Merkle value of the closest descendant must be returned.
If the type of an item is closest-descendant-merkle-value, then the so-called trie Merkle value of the key can be found in the result. If key doesn't exist in the trie, then the Merkle value of the closest descendant of key (including branch nodes) is provided. If key doesn't have any descendant in the trie, then the result will not contain any relevant item.
// @paritytech/subxt-team