eth/catalyst: rely on CL whether to enforce IL constraints or not

pull/30914/head
Jihoon Song 2 months ago
parent a955198f2a
commit b98a68dbe7
  1. 3
      eth/catalyst/api.go

@ -712,9 +712,6 @@ func (api *ConsensusAPI) NewPayloadV5(params engine.ExecutableData, versionedHas
if executionRequests == nil {
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 {
return engine.PayloadStatusV1{Status: engine.INVALID}, engine.UnsupportedFork.With(errors.New("newPayloadV5 must only be called for prague payloads"))

Loading…
Cancel
Save