From dc298886010120078fe86fdf24796f344dce54b4 Mon Sep 17 00:00:00 2001 From: Nicolas <32513365+nicos99@users.noreply.github.com> Date: Wed, 29 Jan 2020 08:13:53 +0100 Subject: [PATCH] =?UTF-8?q?fix=20parenthesis=20error=20in=20=C2=A7=20"Sema?= =?UTF-8?q?ntic=20and=20Syntactic=20Changes"=20of=20v0.5.0=20Breaking=20Ch?= =?UTF-8?q?anges?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/050-breaking-changes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/050-breaking-changes.rst b/docs/050-breaking-changes.rst index 497936f31..93238e189 100644 --- a/docs/050-breaking-changes.rst +++ b/docs/050-breaking-changes.rst @@ -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