Skip to content

Commit a39bce0

Browse files
authored
Fix dynamic array spec
1 parent 548a4b4 commit a39bce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/abi-spec.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ on the type of ``X`` being
191191

192192
- ``T[]`` where ``X`` has ``k`` elements (``k`` is assumed to be of type ``uint256``):
193193

194-
``enc(X) = enc(k) enc([X[0], ..., X[k-1]])``
194+
``enc(X) = enc(k) enc(([X[0], ..., X[k-1]]))``
195195

196196
i.e. it is encoded as if it were an array of static size ``k``, prefixed with
197197
the number of elements.

0 commit comments

Comments
 (0)