Skip to content

Commit

Permalink
Update EIP-1153: Move to Final
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
timbeiko authored Mar 29, 2024
1 parent 688e939 commit 0904d24
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
7 changes: 5 additions & 2 deletions EIPS/eip-1153.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -98,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.
Expand Down
11 changes: 7 additions & 4 deletions EIPS/eip-7516.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -46,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`)
Expand All @@ -61,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.
Expand Down
3 changes: 1 addition & 2 deletions EIPS/eip-7568.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0904d24

Please sign in to comment.