forked from forks/go-ethereum
This change brings geth into compliance with the current engine API specification for the Prague fork. I have moved the assignment of ExecutionPayloadEnvelope.Requests into BlockToExecutableData to ensure there is a single place where the type is removed. While doing so, I noticed that handling of requests in the miner was not quite correct for the empty payload. It would return `nil` requests for the empty payload even for blocks after the Prague fork. To fix this, I have added the emptyRequests field in miner.Payload. |
||
|---|---|---|
| .. | ||
| block_sync.go | ||
| block_sync_test.go | ||
| client.go | ||
| config.go | ||
| engineclient.go | ||