mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix dynamic array spec
This commit is contained in:
parent
548a4b4ac6
commit
a39bce010e
@ -191,7 +191,7 @@ on the type of ``X`` being
|
||||
|
||||
- ``T[]`` where ``X`` has ``k`` elements (``k`` is assumed to be of type ``uint256``):
|
||||
|
||||
``enc(X) = enc(k) enc([X[0], ..., X[k-1]])``
|
||||
``enc(X) = enc(k) enc(([X[0], ..., X[k-1]]))``
|
||||
|
||||
i.e. it is encoded as if it were an array of static size ``k``, prefixed with
|
||||
the number of elements.
|
||||
|
Loading…
Reference in New Issue
Block a user