Skip to content

Conversation

@mattsse
Copy link
Collaborator

@mattsse mattsse commented Dec 6, 2025

this will mitigate suboptimal behaviour when we're trying to close the gap after transitioning from backfill to live sync.

previously this would only attempt to make the chain canonical if we have [canonicalhead +1,..fcu.head] executed, which can be over 2 epochs of blocks and be an issue performance wise.

this will now attempt to also make the finalized block, safe block canonical, because we can assume those are definitely part of the canonical chain.

this should restrict it to 32 blocks at most

@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Dec 6, 2025
@mattsse mattsse added C-perf A change motivated by improving speed, memory usage or disk footprint A-engine Related to the engine implementation labels Dec 6, 2025
Copy link
Member

@yongkangc yongkangc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense i see, this allows us to save sooner as we know that they are canon and we can save it.

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Dec 8, 2025
@mattsse mattsse enabled auto-merge December 8, 2025 10:55
@mattsse mattsse closed this Dec 8, 2025
auto-merge was automatically disabled December 8, 2025 12:46

Pull request was closed

@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Dec 8, 2025
@mattsse mattsse reopened this Dec 8, 2025
@github-project-automation github-project-automation bot moved this from Done to In Progress in Reth Tracker Dec 8, 2025
@mattsse mattsse enabled auto-merge December 8, 2025 12:46
@mattsse mattsse added this pull request to the merge queue Dec 8, 2025
Merged via the queue into main with commit dc06b47 Dec 8, 2025
44 checks passed
@mattsse mattsse deleted the matt/make-intermediary-blocks-canonical branch December 8, 2025 14:22
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Dec 8, 2025
Zygimantass pushed a commit to tempoxyz/tempo that referenced this pull request Dec 8, 2025
Bumps Reth to include paradigmxyz/reth#20169 and
paradigmxyz/reth#20164

---------

Co-authored-by: Arsenii Kulikov <[email protected]>
yongkangc pushed a commit that referenced this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-engine Related to the engine implementation C-perf A change motivated by improving speed, memory usage or disk footprint

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants