From 91f4ae12a968defabd4b4a19811108b5338f007d Mon Sep 17 00:00:00 2001 From: ethers <6937903+ethers@users.noreply.github.com> Date: Mon, 8 Jun 2020 19:16:24 -0700 Subject: [PATCH] remove SHA-3 as Keccak-256 is clearer Reduce confusion as Keccak-256 is clear enough --- docs/abi-spec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/abi-spec.rst b/docs/abi-spec.rst index 1d3e8efd0..ccb76b37c 100644 --- a/docs/abi-spec.rst +++ b/docs/abi-spec.rst @@ -24,7 +24,7 @@ Function Selector ================= The first four bytes of the call data for a function call specifies the function to be called. It is the -first (left, high-order in big-endian) four bytes of the Keccak-256 (SHA-3) hash of the signature of +first (left, high-order in big-endian) four bytes of the Keccak-256 hash of the signature of the function. The signature is defined as the canonical expression of the basic prototype without data location specifier, i.e. the function name with the parenthesised list of parameter types. Parameter types are split by a single