From 2082791ac4f9e00c07358294a99ecce1c18393f6 Mon Sep 17 00:00:00 2001 From: Tim Beiko <9390255+timbeiko@users.noreply.github.com> Date: Tue, 19 Mar 2024 07:41:41 -0700 Subject: [PATCH 1/4] Finalize some Dencun EIPs Signed-off-by: Tim Beiko <9390255+timbeiko@users.noreply.github.com> --- EIPS/eip-1153.md | 3 +-- EIPS/eip-5656.md | 3 +-- EIPS/eip-7516.md | 3 +-- EIPS/eip-7568.md | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/EIPS/eip-1153.md b/EIPS/eip-1153.md index fb7b08e37ffa0c..12d559224e19b7 100644 --- a/EIPS/eip-1153.md +++ b/EIPS/eip-1153.md @@ -4,8 +4,7 @@ title: Transient storage opcodes description: Add opcodes for manipulating state that behaves almost identically to storage but is discarded after every transaction author: Alexey Akhunov (@AlexeyAkhunov), Moody Salem (@moodysalem) discussions-to: https://ethereum-magicians.org/t/eip-transient-storage-opcodes/553 -status: Last Call -last-call-deadline: 2022-12-08 +status: Final type: Standards Track category: Core created: 2018-06-15 diff --git a/EIPS/eip-5656.md b/EIPS/eip-5656.md index 2dcb7cafd56d59..6a82566247bfa6 100644 --- a/EIPS/eip-5656.md +++ b/EIPS/eip-5656.md @@ -4,8 +4,7 @@ title: MCOPY - Memory copying instruction description: An efficient EVM instruction for copying memory areas author: Alex Beregszaszi (@axic), Paul Dworzanski (@poemm), Jared Wasinger (@jwasinger), Casey Detrio (@cdetrio), Pawel Bylica (@chfast), Charles Cooper (@charles-cooper) discussions-to: https://ethereum-magicians.org/t/eip-5656-mcopy-instruction/10890 -status: Last Call -last-call-deadline: 2024-02-20 +status: Final type: Standards Track category: Core created: 2021-02-01 diff --git a/EIPS/eip-7516.md b/EIPS/eip-7516.md index 1d9a65f346f3d5..0634d91ee87a76 100644 --- a/EIPS/eip-7516.md +++ b/EIPS/eip-7516.md @@ -4,8 +4,7 @@ title: BLOBBASEFEE instruction description: Instruction that returns the current data-blob base-fee author: Carl Beekhuizen (@carlbeek) discussions-to: https://ethereum-magicians.org/t/eip-7516-blobbasefee-opcode/15761 -status: Last Call -last-call-deadline: 2024-02-15 +status: Final type: Standards Track category: Core created: 2023-09-11 diff --git a/EIPS/eip-7568.md b/EIPS/eip-7568.md index 387f49e8f745ac..158dcb2111cf01 100644 --- a/EIPS/eip-7568.md +++ b/EIPS/eip-7568.md @@ -4,8 +4,7 @@ title: Hardfork Meta Backfill - Berlin to Shapella description: Pointers to specifications used for the network upgrades from Berlin to Shapella. author: Tim Beiko (@timbeiko) discussions-to: https://ethereum-magicians.org/t/hardfork-meta-backfill/16923 -status: Last Call -last-call-deadline: 2024-02-23 +status: Final type: Meta created: 2023-12-01 requires: 2070, 2387, 2982, 6122, 6953 From fe8995ef92a6c21adf19c50cb51a1ffd10b34b2e Mon Sep 17 00:00:00 2001 From: Tim Beiko <9390255+timbeiko@users.noreply.github.com> Date: Thu, 21 Mar 2024 09:08:24 -0700 Subject: [PATCH 2/4] Separate 5656 Signed-off-by: Tim Beiko <9390255+timbeiko@users.noreply.github.com> --- EIPS/eip-5656.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EIPS/eip-5656.md b/EIPS/eip-5656.md index 6a82566247bfa6..2dcb7cafd56d59 100644 --- a/EIPS/eip-5656.md +++ b/EIPS/eip-5656.md @@ -4,7 +4,8 @@ title: MCOPY - Memory copying instruction description: An efficient EVM instruction for copying memory areas author: Alex Beregszaszi (@axic), Paul Dworzanski (@poemm), Jared Wasinger (@jwasinger), Casey Detrio (@cdetrio), Pawel Bylica (@chfast), Charles Cooper (@charles-cooper) discussions-to: https://ethereum-magicians.org/t/eip-5656-mcopy-instruction/10890 -status: Final +status: Last Call +last-call-deadline: 2024-02-20 type: Standards Track category: Core created: 2021-02-01 From 690b5bc316ac0c00510ff809b3ea03cfdec1a403 Mon Sep 17 00:00:00 2001 From: lightclient Date: Fri, 29 Mar 2024 16:33:50 -0400 Subject: [PATCH 3/4] 1153: add test cases section --- EIPS/eip-1153.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/EIPS/eip-1153.md b/EIPS/eip-1153.md index 12d559224e19b7..1eb863b534a5a3 100644 --- a/EIPS/eip-1153.md +++ b/EIPS/eip-1153.md @@ -97,6 +97,10 @@ This EIP requires a hard fork to implement. Since this EIP does not change behavior of any existing opcodes, it is backwards compatible with all existing smart contracts. +## Test Cases + +A test suite for this EIP can be found [here](https://github.com/ethereum/execution-spec-tests/tree/1983444bbe1a471886ef7c0e82253ffe2a4053e1/tests/cancun/eip1153_tstore). + ## Reference Implementation Because the transient storage must behave almost identically to storage within the context of a single transaction with regards to revert behavior, it is necessary to be able to revert to a previous state of transient storage within a transaction. At the same time reverts are exceptional cases and loads, stores and returns should be cheap. From f0228f7b34bf3d21c3c9f33ef67d54d67b9a5a6a Mon Sep 17 00:00:00 2001 From: lightclient Date: Fri, 29 Mar 2024 16:38:56 -0400 Subject: [PATCH 4/4] 7516: add link to exec spec tests --- EIPS/eip-7516.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/EIPS/eip-7516.md b/EIPS/eip-7516.md index 0634d91ee87a76..dcd2f4ede58a6e 100644 --- a/EIPS/eip-7516.md +++ b/EIPS/eip-7516.md @@ -45,9 +45,9 @@ There are no known backward compatibility issues with this instruction. ## Test Cases -### Nominal case +### Nominal Case -Assuming calling `get_blob_gasprice(header)` (as defined in [EIP-4844 §Gas accounting](./eip-4844.md#gas-accounting)) on the current block's header returns `7 wei`: +Assume calling `get_blob_gasprice(header)` (as defined in [EIP-4844 §Gas accounting](./eip-4844.md#gas-accounting)) on the current block's header returns `7 wei`: `BLOBBASEFEE` should push the value `7` (left padded byte32) to the stack. Bytecode: `0x4900` (`BLOBBASEFEE, STOP`) @@ -60,6 +60,10 @@ Bytecode: `0x4900` (`BLOBBASEFEE, STOP`) Output: 0x Consumed gas: `2` +### Comprehensive Test Suite + +A complete suite of tests can be found [here](https://github.com/ethereum/execution-spec-tests/blob/1983444bbe1a471886ef7c0e82253ffe2a4053e1/tests/cancun/eip7516_blobgasfee/test_blobgasfee_opcode.py). + ## Security Considerations The value of the blob base-fee is not sensitive and is publicly accessible in the block header. There are no known security implications with this instruction.