Skip to content

Commit

Permalink
Update EIPS/eip-7709.md
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume Ballet <[email protected]>
  • Loading branch information
g11tech and gballet committed May 28, 2024
1 parent 37a83cb commit 87f3ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EIPS/eip-7709.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The `BLOCKHASH (0x40)` opcode currently assumes that the client has knowledge of
| `HISTORY_STORAGE_ADDRESS` | TBD |
| `BLOCKHASH_SERVE_WINDOW` | `256` |

The `BLOCKHASH` opcode semantics remains the same as before. From the `fork_block` (first block where `block.timestamp >= FORK_TIMESTAMP`), the `BLOCKHASH` instruction should be updated to resolve block hash in the following manner:
The `BLOCKHASH` opcode semantics remains the same as before. From the `fork_block` (defined as `fork_block.timestamp >= FORK_TIMESTAMP and fork_block.parent.timestamp < FORK_TIMESTAMP`), the `BLOCKHASH` instruction should be updated to resolve block hash in the following manner:

```python
def resolve_blockhash(block: Block, state: State, arg: uint64):
Expand Down

0 comments on commit 87f3ba0

Please sign in to comment.