Failed-checksum addresses are an error

This commit is contained in:
William Entriken 2019-06-26 19:57:33 -04:00 committed by chriseth
parent 7de18b37c2
commit b6cb079157

View File

@ -386,7 +386,7 @@ Hexadecimal literals that pass the address checksum test, for example
``0xdCad3a6d3569DF655070DEd06cb7A1b2Ccd1D3AF`` are of ``address payable`` type. ``0xdCad3a6d3569DF655070DEd06cb7A1b2Ccd1D3AF`` are of ``address payable`` type.
Hexadecimal literals that are between 39 and 41 digits Hexadecimal literals that are between 39 and 41 digits
long and do not pass the checksum test produce long and do not pass the checksum test produce
a warning and are treated as regular rational number literals. an error. You can prepend (for integer types) or append (for bytesNN types) zeros to remove the error.
.. note:: .. note::
The mixed-case address checksum format is defined in `EIP-55 <https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md>`_. The mixed-case address checksum format is defined in `EIP-55 <https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md>`_.