Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

feat(mpt): Block hash walkback#199

Merged
clabby merged 1 commit intomainfrom
cl/trie-db-block-walkback
Jun 4, 2024
Merged

feat(mpt): Block hash walkback#199
clabby merged 1 commit intomainfrom
cl/trie-db-block-walkback

Conversation

@clabby
Copy link
Contributor

@clabby clabby commented Jun 2, 2024

Overview

Introduces the implementation for Database::block_hash for TrieDB, allowing the BLOCKHASH opcode to verifiably fetch a block hash within the most recent 256 blocks, not including the block that is currently being executed.

Copy link
Contributor Author

clabby commented Jun 2, 2024

@clabby clabby self-assigned this Jun 2, 2024
@clabby clabby mentioned this pull request Jun 2, 2024
@clabby clabby added K-feature Kind: feature A-mpt labels Jun 2, 2024
@clabby clabby force-pushed the cl/trie-db-block-walkback branch 3 times, most recently from c5c84ef to a977461 Compare June 2, 2024 00:21
@clabby clabby force-pushed the cl/trie-db-block-walkback branch from a977461 to b754306 Compare June 2, 2024 00:22
@clabby clabby force-pushed the cl/trie-db-block-walkback branch 2 times, most recently from f2bbbb7 to 547e57e Compare June 2, 2024 01:55
@clabby clabby requested a review from refcell June 2, 2024 05:53
@clabby clabby force-pushed the cl/trie-db-block-walkback branch from 547e57e to 84055cb Compare June 3, 2024 22:51
@clabby clabby force-pushed the cl/trie-db-block-walkback branch from 84055cb to ca017ee Compare June 3, 2024 22:56
@clabby clabby force-pushed the cl/trie-db-block-walkback branch from ca017ee to 550522a Compare June 4, 2024 15:13
@clabby clabby force-pushed the cl/trie-db-block-walkback branch from 550522a to 1b4bde0 Compare June 4, 2024 15:32
@clabby clabby force-pushed the cl/trie-db-block-walkback branch from 1b4bde0 to d3d94fa Compare June 4, 2024 16:04
@clabby clabby changed the base branch from cl/trie-state to main June 4, 2024 16:04
@clabby clabby enabled auto-merge June 4, 2024 16:04
Introduces the implementation for `Database::block_hash` for `TrieDB`,
allowing the `BLOCKHASH` opcode to verifiably fetch a block hash within
the most recent `256` blocks, not including the block that is currently
being executed.
@clabby clabby force-pushed the cl/trie-db-block-walkback branch from d3d94fa to 5e701e3 Compare June 4, 2024 16:07
@clabby clabby added this pull request to the merge queue Jun 4, 2024
Merged via the queue into main with commit 8cf8702 Jun 4, 2024
This was referenced Jun 4, 2024
@clabby clabby added this to the Phase 3: Kona Client & Host milestone Jun 11, 2024
This was referenced Jun 11, 2024
@github-actions github-actions bot mentioned this pull request Jun 22, 2024
@clabby clabby deleted the cl/trie-db-block-walkback branch July 2, 2024 03:37
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
Introduces the implementation for `Database::block_hash` for `TrieDB`,
allowing the `BLOCKHASH` opcode to verifiably fetch a block hash within
the most recent `256` blocks, not including the block that is currently
being executed.
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
Introduces the implementation for `Database::block_hash` for `TrieDB`,
allowing the `BLOCKHASH` opcode to verifiably fetch a block hash within
the most recent `256` blocks, not including the block that is currently
being executed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

K-feature Kind: feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants