Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use more block_num_hash in insert_block_inner #13943

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Jan 23, 2025

We reference the block number and hash a lot in insert_block_inner, for logs and other methods, as well as use the block's num_hash() frequently, this just creates a variable called block_num_hash that is used throughout the method

@Rjected Rjected added the A-blockchain-tree Related to sidechains, reorgs and pending blocks label Jan 23, 2025
@mattsse mattsse added this pull request to the merge queue Jan 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Jan 23, 2025
@Rjected Rjected force-pushed the dan/use-num-hash-more branch from 3c88ff8 to e9b3b95 Compare January 23, 2025 16:27
@Rjected Rjected enabled auto-merge January 23, 2025 16:27
@Rjected Rjected added this pull request to the merge queue Jan 23, 2025
Merged via the queue into main with commit a162571 Jan 23, 2025
43 checks passed
@Rjected Rjected deleted the dan/use-num-hash-more branch January 23, 2025 17:20
refcell pushed a commit to ethereum-optimism/op-reth that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-blockchain-tree Related to sidechains, reorgs and pending blocks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants