Skip to content

Conversation

mediocregopher
Copy link
Collaborator

Closes #18903

Fixes the two bugs described in that ticket

@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Oct 9, 2025
@github-actions github-actions bot added the C-enhancement New feature or request label Oct 9, 2025
@jenpaff jenpaff linked an issue Oct 9, 2025 that may be closed by this pull request
@jenpaff jenpaff moved this from Backlog to In Review in Reth Tracker Oct 9, 2025
Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

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

yeah I think using checkpoint.block_number is correct, just one question about the comment otherwise lgtm

// If the finalized block was way in the past then we don't want to generate changesets for
// all of those past blocks; we only care about the recent history.
//
// Use maximum of finalized_block and retention_based_start if finalized_block exists,
Copy link
Member

Choose a reason for hiding this comment

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

This says maximum but the code still uses min?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good catch, i don't know how I missed this 🤦

@mediocregopher mediocregopher merged commit 04581ef into 18460-trie-changesets Oct 10, 2025
37 checks passed
@mediocregopher mediocregopher deleted the mediocregopher/18903-trie-cs-chkpt-fix branch October 10, 2025 10:58
@github-project-automation github-project-automation bot moved this from In Review to Done in Reth Tracker Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Trie ChangSets: Fix pipeline checkpoints

2 participants