Skip to content

Commit 24a2d0f

Browse files
change append to prepend state-transitions-and-storage.md (#2039)
Co-authored-by: Shawn Tabrizi <[email protected]>
1 parent 6e53d10 commit 24a2d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/md/en/docs/learn/state-transitions-and-storage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Substrate's [runtime storage APIs](/build/runtime-storage) expose a number of st
5757

5858
### Storage value keys
5959

60-
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.
60+
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.
6161
For example, the [Sudo](https://paritytech.github.io/substrate/master/pallet_sudo/index.html) pallet exposes a Storage Value item named `Key`:
6262

6363
```rust

0 commit comments

Comments
 (0)