|
|
@ -712,9 +712,6 @@ func (api *ConsensusAPI) NewPayloadV5(params engine.ExecutableData, versionedHas |
|
|
|
if executionRequests == nil { |
|
|
|
if executionRequests == nil { |
|
|
|
return engine.PayloadStatusV1{Status: engine.INVALID}, engine.InvalidParams.With(errors.New("nil executionRequests post-prague")) |
|
|
|
return engine.PayloadStatusV1{Status: engine.INVALID}, engine.InvalidParams.With(errors.New("nil executionRequests post-prague")) |
|
|
|
} |
|
|
|
} |
|
|
|
if inclusionList == nil { |
|
|
|
|
|
|
|
return engine.PayloadStatusV1{Status: engine.INVALID}, engine.InvalidParams.With(errors.New("nil inclusionList post-prague")) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if api.eth.BlockChain().Config().LatestFork(params.Timestamp) != forks.Prague { |
|
|
|
if api.eth.BlockChain().Config().LatestFork(params.Timestamp) != forks.Prague { |
|
|
|
return engine.PayloadStatusV1{Status: engine.INVALID}, engine.UnsupportedFork.With(errors.New("newPayloadV5 must only be called for prague payloads")) |
|
|
|
return engine.PayloadStatusV1{Status: engine.INVALID}, engine.UnsupportedFork.With(errors.New("newPayloadV5 must only be called for prague payloads")) |
|
|
|