Skip to content

fix: properly save history indices in pipeline#21222

Merged
mattsse merged 1 commit intomainfrom
klkvr/fix-history-indices
Jan 20, 2026
Merged

fix: properly save history indices in pipeline#21222
mattsse merged 1 commit intomainfrom
klkvr/fix-history-indices

Conversation

@klkvr
Copy link
Member

@klkvr klkvr commented Jan 20, 2026

this was already done for accounts in #21165, so this change effectively wouldn't change anything (because there are no changes for zero slot of zero address anyway)

however, imo still worth doing it just in case we decide to unify those fns later

resolves RETH-154

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.

lgtm!

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Jan 20, 2026
@yongkangc yongkangc requested a review from joshieDo January 20, 2026 18:15
P: Copy + Default + Eq,
{
let mut write_cursor = provider.tx_ref().cursor_write::<H>()?;
let mut current_partial = P::default();
Copy link
Collaborator

Choose a reason for hiding this comment

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

oh I see the default could cause bad equality checks otherwise

@mattsse mattsse enabled auto-merge January 20, 2026 18:19
@mattsse mattsse added this pull request to the merge queue Jan 20, 2026
Merged via the queue into main with commit 9662dc5 Jan 20, 2026
46 checks passed
@mattsse mattsse deleted the klkvr/fix-history-indices branch January 20, 2026 18:30
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants