aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-22 22:24:14 +0800
committerGitHub <noreply@github.com>2018-02-22 22:24:14 +0800
commit2ada9683dd54a10f61816814e79f15860f8feb2e (patch)
treed984bc51675d3e82b82caaa8d8498cd434c7b54e
parent29d40ad42af1e7168ec3ea077a2bcfb71c68dc60 (diff)
downloaddexon-solidity-2ada9683dd54a10f61816814e79f15860f8feb2e.tar.gz
dexon-solidity-2ada9683dd54a10f61816814e79f15860f8feb2e.tar.zst
dexon-solidity-2ada9683dd54a10f61816814e79f15860f8feb2e.zip
Use the term "trailing zero-bytes".
-rw-r--r--docs/abi-spec.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst
index 58b88a07..07c8e0ce 100644
--- a/docs/abi-spec.rst
+++ b/docs/abi-spec.rst
@@ -163,7 +163,7 @@ on the type of ``X`` being
- ``fixed``: as in the ``fixed128x19`` case
- ``ufixed<M>x<N>``: ``enc(X)`` is ``enc(X * 10**N)`` where ``X * 10**N`` is interpreted as a ``uint256``.
- ``ufixed``: as in the ``ufixed128x19`` case
-- ``bytes<M>``: ``enc(X)`` is the sequence of bytes in ``X`` padded with zero-bytes on the _right_ to a length of 32.
+- ``bytes<M>``: ``enc(X)`` is the sequence of bytes in ``X`` padded with trailing zero-bytes to a length of 32 bytes.
Note that for any ``X``, ``len(enc(X))`` is a multiple of 32.