core: process EL requests in GenerateVerkleChain (#31175)

This commit is contained in:
nethoxa 2025-03-25 14:13:05 +01:00 committed by GitHub
parent aa6d0ef5f2
commit 21d36f7c37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -504,6 +504,13 @@ func GenerateVerkleChain(config *params.ChainConfig, parent *types.Block, engine
if gen != nil {
gen(i, b)
}
requests := b.collectRequests(false)
if requests != nil {
reqHash := types.CalcRequestsHash(requests)
b.header.RequestsHash = &reqHash
}
body := &types.Body{
Transactions: b.txs,
Uncles: b.uncles,