From 2e6a864d51ed3216813cec5b848287ec9e1bc921 Mon Sep 17 00:00:00 2001 From: sam bacha Date: Sun, 26 Jan 2025 00:47:25 -0800 Subject: [PATCH 1/2] docs(opcodes): REVERT EIP REVERT opcode is proposed in EIP-140, originally --- learn_evm/evm_opcodes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learn_evm/evm_opcodes.md b/learn_evm/evm_opcodes.md index 5d77e421..3046a2e6 100644 --- a/learn_evm/evm_opcodes.md +++ b/learn_evm/evm_opcodes.md @@ -178,7 +178,7 @@ The gas information is a work in progress. If an asterisk is in the Gas column, | `0xf6` - `0xf9` | Unused | - | - | | [`0xfa`](#staticcall) | STATICCALL | Similar to CALL, but does not modify state | - | 40 | | `0xfb` | Unused | - | - | -| [`0xfd`](#revert) | REVERT | Stop execution and revert state changes, without consuming all provided gas and providing a reason | - | 0 | +| [`0xfd`](#revert) | REVERT | Stop execution and revert state changes, without consuming all provided gas and providing a reason | [EIP 140](https://github.com/axic/EIPs/blob/75121e281a8737f979a969394b4360d4d277c115/EIPS/eip-140.md) | 0 | | `0xfe` | INVALID | Designated invalid instruction | - | 0 | | [`0xff`](#selfdestruct) | SELFDESTRUCT | Sends all ETH to the target. If executed in the same transaction a contract was created, register the account for later deletion | [EIP-6780](https://eips.ethereum.org/EIPS/eip-6780) | 5000\* | From 76052b83d7ae30fb1b9b965f01552004dd1b9abc Mon Sep 17 00:00:00 2001 From: anishnaik Date: Wed, 26 Mar 2025 15:12:47 -0400 Subject: [PATCH 2/2] Update learn_evm/evm_opcodes.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Emilio López <2642849+elopez@users.noreply.github.com> --- learn_evm/evm_opcodes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/learn_evm/evm_opcodes.md b/learn_evm/evm_opcodes.md index 3046a2e6..cec00704 100644 --- a/learn_evm/evm_opcodes.md +++ b/learn_evm/evm_opcodes.md @@ -178,7 +178,7 @@ The gas information is a work in progress. If an asterisk is in the Gas column, | `0xf6` - `0xf9` | Unused | - | - | | [`0xfa`](#staticcall) | STATICCALL | Similar to CALL, but does not modify state | - | 40 | | `0xfb` | Unused | - | - | -| [`0xfd`](#revert) | REVERT | Stop execution and revert state changes, without consuming all provided gas and providing a reason | [EIP 140](https://github.com/axic/EIPs/blob/75121e281a8737f979a969394b4360d4d277c115/EIPS/eip-140.md) | 0 | +| [`0xfd`](#revert) | REVERT | Stop execution and revert state changes, without consuming all provided gas and providing a reason | [EIP 140](https://eips.ethereum.org/EIPS/eip-140) | 0 | | `0xfe` | INVALID | Designated invalid instruction | - | 0 | | [`0xff`](#selfdestruct) | SELFDESTRUCT | Sends all ETH to the target. If executed in the same transaction a contract was created, register the account for later deletion | [EIP-6780](https://eips.ethereum.org/EIPS/eip-6780) | 5000\* |