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

Rebased replay #391

Closed
wants to merge 8 commits into from
Closed

Conversation

jsign
Copy link
Collaborator

@jsign jsign commented Feb 27, 2024

No description provided.

@jsign jsign changed the title Jsign rreplay Rebased replay Feb 27, 2024
Comment on lines +372 to +376

if !beacon.IsPoSHeader(header) {
beacon.ethone.Finalize(chain, header, state, txs, uncles, nil)
return
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Moved this so the conversion can happen for the block verifier.
The widrawals iteration should be fine since will be empty for the replay.

core/blockchain.go Outdated Show resolved Hide resolved
Comment on lines 1351 to 1364
LastCommittedRoot = root
return root, nil
}

var LastCommittedRoot common.Hash

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hacky way for the statedb fix.

@gballet gballet force-pushed the transition-post-genesis branch from 31f522b to 009d3e2 Compare February 28, 2024 09:46
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
@gballet gballet force-pushed the transition-post-genesis branch from ec5b79e to bb3a39d Compare March 26, 2024 09:13
@jsign jsign changed the base branch from transition-post-genesis to jsign-transition-post-genesis-frozen April 18, 2024 19:05
@jsign jsign mentioned this pull request May 6, 2024
@jsign
Copy link
Collaborator Author

jsign commented May 6, 2024

Superseded by #431

@jsign jsign closed this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant