From 510d74c1cd4e993f3d7e763e3380e42d8f3911ea Mon Sep 17 00:00:00 2001 From: Tony <78368735+maAPPsDEV@users.noreply.github.com> Date: Wed, 7 Jul 2021 19:29:44 -0400 Subject: [PATCH] Fix a Typo describing Layout in Storage --- docs/internals/layout_in_storage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/internals/layout_in_storage.rst b/docs/internals/layout_in_storage.rst index a9de8f6c9..b1b89a6a3 100644 --- a/docs/internals/layout_in_storage.rst +++ b/docs/internals/layout_in_storage.rst @@ -127,7 +127,7 @@ The type of the value is ``uint256``, so it uses a single slot. ------------------------ ``bytes`` and ``string`` are encoded identically. -In general, the encoding is similar to ``byte1[]``, in the sense that there is a slot for the array itself and +In general, the encoding is similar to ``bytes1[]``, in the sense that there is a slot for the array itself and a data area that is computed using a ``keccak256`` hash of that slot's position. However, for short values (shorter than 32 bytes) the array elements are stored together with the length in the same slot.