Skip to content

Commit

Permalink
eth/catalyst: rely on CL whether to enforce IL constraints or not
Browse files Browse the repository at this point in the history
  • Loading branch information
jihoonsong committed Jan 9, 2025
1 parent 1eb918f commit 78f8ad9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eth/catalyst/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -709,9 +709,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"))
Expand Down

0 comments on commit 78f8ad9

Please sign in to comment.