diff options
author | chriseth <chris@ethereum.org> | 2018-11-13 23:21:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 23:21:12 +0800 |
commit | 289965e6a8d73e94494e03dcb61abd81a417ee06 (patch) | |
tree | 7d5af07f3aa32cec4091f82b8b0ea9e6b4cf42ca /docs | |
parent | 32d252ff880656c4cd18311d021d95e53293bbf7 (diff) | |
parent | 8258712771164da6d365f2417eeb968045522a6f (diff) | |
download | dexon-solidity-289965e6a8d73e94494e03dcb61abd81a417ee06.tar dexon-solidity-289965e6a8d73e94494e03dcb61abd81a417ee06.tar.gz dexon-solidity-289965e6a8d73e94494e03dcb61abd81a417ee06.tar.bz2 dexon-solidity-289965e6a8d73e94494e03dcb61abd81a417ee06.tar.lz dexon-solidity-289965e6a8d73e94494e03dcb61abd81a417ee06.tar.xz dexon-solidity-289965e6a8d73e94494e03dcb61abd81a417ee06.tar.zst dexon-solidity-289965e6a8d73e94494e03dcb61abd81a417ee06.zip |
Merge pull request #5412 from ritzdorf/patch-2
keccak256 does not call an external contract
Diffstat (limited to 'docs')
-rw-r--r-- | docs/contracts.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst index 4d439b26..c1c51e56 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -455,7 +455,7 @@ execution data (``msg.value`` or ``gasleft()``) or makes calls to external contr that might have a side-effect on memory allocation are allowed, but those that might have a side-effect on other memory objects are not. The built-in functions ``keccak256``, ``sha256``, ``ripemd160``, ``ecrecover``, ``addmod`` and ``mulmod`` -are allowed (even though they do call external contracts). +are allowed (even though, with the exception of ``keccak256``, they do call external contracts). The reason behind allowing side-effects on the memory allocator is that it should be possible to construct complex objects like e.g. lookup-tables. |