fix parenthesis error in § "Semantic and Syntactic Changes" of v0.5.0 Breaking Changes

This commit is contained in:
Nicolas
2020-01-29 08:13:53 +01:00
committed by GitHub
parent a788ba14f3
commit dc29888601
+1 -1
View File
@@ -63,7 +63,7 @@ This section highlights changes that affect syntax and semantics.
last one only works for value types). Change every ``keccak256(a, b, c)`` to
``keccak256(abi.encodePacked(a, b, c))``. Even though it is not a breaking
change, it is suggested that developers change
``x.call(bytes4(keccak256("f(uint256)"), a, b)`` to
``x.call(bytes4(keccak256("f(uint256)")), a, b)`` to
``x.call(abi.encodeWithSignature("f(uint256)", a, b))``.
* Functions ``.call()``, ``.delegatecall()`` and ``.staticcall()`` now return