From 479ec3c79dd668711ab09434cebdb898b975ae15 Mon Sep 17 00:00:00 2001 From: behkod Date: Fri, 11 Aug 2023 13:25:45 +0330 Subject: [PATCH] change append to prepend state-transitions-and-storage.md --- content/md/en/docs/learn/state-transitions-and-storage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/md/en/docs/learn/state-transitions-and-storage.md b/content/md/en/docs/learn/state-transitions-and-storage.md index 503820285..6f2619947 100644 --- a/content/md/en/docs/learn/state-transitions-and-storage.md +++ b/content/md/en/docs/learn/state-transitions-and-storage.md @@ -57,7 +57,7 @@ Substrate's [runtime storage APIs](/build/runtime-storage) expose a number of st ### Storage value keys -To calculate the key for a simple [Storage Value](/build/runtime-storage#storage-value), take the [TwoX 128 hash](https://github.com/Cyan4973/xxHash) of the name of the pallet that contains the Storage Value and append to it the TwoX 128 hash of the name of the Storage Value itself. +To calculate the key for a simple [Storage Value](/build/runtime-storage#storage-value), take the [TwoX 128 hash](https://github.com/Cyan4973/xxHash) of the name of the pallet that contains the Storage Value and prepend to it the TwoX 128 hash of the name of the Storage Value itself. For example, the [Sudo](https://paritytech.github.io/substrate/master/pallet_sudo/index.html) pallet exposes a Storage Value item named `Key`: ```rust