Skip to content

Erigon 3: Parallel state flushing#11300

Merged
Giulio2002 merged 4 commits into
mainfrom
parall
Jul 25, 2024
Merged

Erigon 3: Parallel state flushing#11300
Giulio2002 merged 4 commits into
mainfrom
parall

Conversation

@Giulio2002

@Giulio2002 Giulio2002 commented Jul 23, 2024

Copy link
Copy Markdown
Contributor

This PR removes effectively FlushExtendingFork overhead at chain tip.

The reason why it works is that:

CL just needs FCU to return SUCCESS, and this promise is inherently mantained if the block has already been marked as valid.

What the PR actually do is: if we flush the fork built in NewPayload, return SUCCESS before the flushing (SUCCESS will be logically what would be returned anyway). this pushes the extra computation on Ethereum's idle block time, thus rendering it null and giving CLs more time to process attestations/blobs/etc...

@Giulio2002 Giulio2002 marked this pull request as draft July 23, 2024 23:13
@Giulio2002 Giulio2002 marked this pull request as ready for review July 24, 2024 09:30
@Giulio2002 Giulio2002 requested a review from AskAlexSharov July 24, 2024 11:47
@Giulio2002 Giulio2002 enabled auto-merge (squash) July 24, 2024 12:36
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.

2 participants