diff options
author | chriseth <chris@ethereum.org> | 2018-05-08 04:34:31 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-05-16 15:48:03 +0800 |
commit | 894122c508c4de07553c7e2908ae36821e812a9f (patch) | |
tree | 694d7cccbe796d33f63bfca3c25eecb9021cb1a4 /Changelog.md | |
parent | 8b98ff470ccb11fbe0e7c1729db5958355c2f84a (diff) | |
download | dexon-solidity-894122c508c4de07553c7e2908ae36821e812a9f.tar.gz dexon-solidity-894122c508c4de07553c7e2908ae36821e812a9f.tar.zst dexon-solidity-894122c508c4de07553c7e2908ae36821e812a9f.zip |
Warn/enforce single bytes argument for certain builtins (hashing functions).
In 0.5.0 mode, only accept a single bytes argument for ``.call``,
``keccak256`` and others and do not pad when encoding.
Diffstat (limited to 'Changelog.md')
-rw-r--r-- | Changelog.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Changelog.md b/Changelog.md index 72c27f8e..ba7f4544 100644 --- a/Changelog.md +++ b/Changelog.md @@ -15,6 +15,7 @@ Features: * Type Checker: Deprecate the ``years`` unit denomination and raise a warning for it (or an error as experimental 0.5.0 feature). * Type Checker: Make literals (without explicit type casting) an error for tight packing as experimental 0.5.0 feature. * Type Checker: Warn about wildcard tuple assignments (this will turn into an error with version 0.5.0). + * Type Checker: Warn when ``keccak256``, ``sha256`` and ``ripemd160`` are not used with a single bytes argument (suggest to use ``abi.encodePacked(...)``). This will turn into an error with version 0.5.0. Bugfixes: * Code Generator: Fix ``revert`` with reason coming from a state or local string variable. |