From 6d3ab9fa564d18f7d539cd6974bcd5d03b7c0beb Mon Sep 17 00:00:00 2001 From: ethosdev <79124435+ethosdev@users.noreply.github.com> Date: Thu, 15 Sep 2022 19:58:19 -0700 Subject: [PATCH] Fix SHA3 opcode with KECCAK256 Reference: https://github.com/ethereum/yellowpaper/pull/825 --- src/content/developers/docs/evm/opcodes/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/developers/docs/evm/opcodes/index.md b/src/content/developers/docs/evm/opcodes/index.md index deba31cbb38..f21650be702 100644 --- a/src/content/developers/docs/evm/opcodes/index.md +++ b/src/content/developers/docs/evm/opcodes/index.md @@ -46,7 +46,7 @@ For operations with dynamic gas costs, see [gas.md](https://github.com/wolflo/ev | 1C | SHR | 3 | `shift, val` | `val >> shift` | | logical shift right | | 1D | SAR | 3 | `shift, val` | `val >> shift` | | arithmetic shift right | | 1E-1F | _invalid_ | -| 20 | SHA3 | [A2](https://github.com/wolflo/evm-opcodes/blob/main/gas.md#a2-sha3) | `ost, len` | `keccak256(mem[ost:ost+len-1])` | | keccak256 | +| 20 | KECCAK256 | [A2](https://github.com/wolflo/evm-opcodes/blob/main/gas.md#a2-sha3) | `ost, len` | `keccak256(mem[ost:ost+len-1])` | | keccak256 | | 21-2F | _invalid_ | | 30 | ADDRESS | 2 | `.` | `address(this)` | | address of executing contract | | 31 | BALANCE | [A5](https://github.com/wolflo/evm-opcodes/blob/main/gas.md#a5-balance-extcodesize-extcodehash) | `addr` | `addr.balance` | | balance, in wei |