From 7f949f916bf7e18be442b0333a9f60608f9c6a8a Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Tue, 16 May 2023 11:20:41 +0000 Subject: [PATCH] Update src/api/chainHead_unstable_storage.md Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> --- src/api/chainHead_unstable_storage.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/chainHead_unstable_storage.md b/src/api/chainHead_unstable_storage.md index 9cfcc62..fd9faf5 100644 --- a/src/api/chainHead_unstable_storage.md +++ b/src/api/chainHead_unstable_storage.md @@ -63,11 +63,11 @@ If the `type` parameter was `"value"`, `"hash"`, `"descendants-values"` or `"des If the `type` parameter was `"value"` or `"hash"`, then it is also guaranteed to be equal to the `key` provided as parameter. If the `type` parameter was `"closest-ancestor-merkle-value"`, then theĀ `key` provided as parameter is guaranteed to start with the value in the `key` field. -If the `type` parameter was `"value"` or `"descendants-values"`, then the `value` field is set. The `value` field a string containing the hexadecimal-encoded value of the storage entry. +If the `type` parameter was `"value"` or `"descendants-values"`, then the `value` field is set. The `value` field is a string containing the hexadecimal-encoded value of the storage entry. -If the `type` parameter was `"hash"` or `"descendants-hashes"`, then the `hash` field is set. The `hash` field a string containing the hexadecimal-encoded hash of the storage entry. +If the `type` parameter was `"hash"` or `"descendants-hashes"`, then the `hash` field is set. The `hash` field is a string containing the hexadecimal-encoded hash of the storage entry. -If the `type` parameter was `"closest-ancestor-merkle-value"`, then the `merkle-value` field is set and the `key` field indicates which closest ancestor has been found. The `merkle-value` field a string containing the hexadecimal-encoded Merkle value of the storage item indicated by the `key` field. +If the `type` parameter was `"closest-ancestor-merkle-value"`, then the `merkle-value` field is set and the `key` field indicates which closest ancestor has been found. The `merkle-value` field is a string containing the hexadecimal-encoded Merkle value of the storage item indicated by the `key` field. Only one of `value`, `hash` or `merkle-value` are set at any given time.