Skip to content

add state-sync txs in body and handle data in eth/69 messages#26

Closed
marcello33 wants to merge 6 commits intomainfrom
mardizzone/POS-3253
Closed

add state-sync txs in body and handle data in eth/69 messages#26
marcello33 wants to merge 6 commits intomainfrom
mardizzone/POS-3253

Conversation

@marcello33
Copy link

In this PR, we implement the canonical inclusion of state-sync txs in block bodies, as per relative PIP.
This PR reflects the Erigon's changes for two PRs in bor:

The PR introduces a new typed system transaction, which is included to blocks that execute StateSync events.
Such txs have zero gas/fees and does not run EVM code, but anchors all StateSync outcomes into the canonical transaction/receipt set. This results in inclusion of such txs into transactionsRoot, receiptsRoot, and logsBloom.

Also, we implement the ability to send state-sync transaction receipts in eth/69 protocol, allowing nodes to persist the state-sync transaction receipts.

The changes requires a hard fork.

@marcello33
Copy link
Author

Splitting the PR.
Closing in favour of

@marcello33 marcello33 closed this Sep 30, 2025
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

Comments