We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cb6335 commit 8174ebfCopy full SHA for 8174ebf
docs/contracts/custom-storage-layout.rst
@@ -23,7 +23,7 @@ As the above example shows, the specifier uses the ``layout at <base-slot-expres
23
and is located in the header of a contract definition.
24
25
The layout specifier can be placed either before or after the inheritance specifier, and can appear at most once.
26
-The ``base-slot-expression`` must be an :ref:`integer literal<rational_literals>` expression
+The ``base-slot-expression`` must be an :ref:`integer literal<rational_literals>` expression or a constant
27
that can be evaluated at compilation time and yields a value in the range of ``uint256``.
28
29
A custom layout cannot make contract's storage "wrap around".
0 commit comments