Skip to content

Fetch upstream erigon v3.2.1#48

Merged
marcello33 merged 13 commits intorelease/3.2from
mardizzone/upstream-erigon-v3.2.1
Oct 27, 2025
Merged

Fetch upstream erigon v3.2.1#48
marcello33 merged 13 commits intorelease/3.2from
mardizzone/upstream-erigon-v3.2.1

Conversation

@marcello33
Copy link

Fetch upstream erigon v3.2.1

yperbasis and others added 13 commits October 15, 2025 20:13
…rigontech#17484)

Cherry pick erigontech#17464

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This fixes the issue we've had with proposing bad blocks on hoodi.

The majority of the changes here are tracing which I have ported from
main. The underlying cause of the issue turned out to be that for mining
we where not initializing block execution. Which effectively means not
calling system contracts. This is ok so long as there are no side
effects which are need by transactins in the block.

However we're now calling the:

``` 
"BEACON_ROOTS_ADDRESS": "0x000f3df6d732807ef1319fb7b8bb8522d0beac02", 
```

And if a transaction needs to see the result of this and performs
processing based on it they will fail.

The fix is just to add:

```
core.InitializeBlockExecution(cfg.engine, chainReader, current.Header, cfg.chainConfig, ibs, &state.NoopWriter{}, logger, nil)
```

before we start processing blocks.
…#17523)

Cherry-pick of : erigontech#17498

Co-authored-by: antonis19 <antonis19@users.noreply.github.com>
@marcello33 marcello33 requested a review from a team October 27, 2025 14:35
@marcello33 marcello33 merged commit 55ad3db into release/3.2 Oct 27, 2025
9 checks passed
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.

9 participants

Comments