Skip to content

Commit 8a19582

Browse files
authored
eth/catalyst: enable newpayloadV4 on BPOs (#32589)
Fixes an issue I accidentally introduced in #32579. Essentially, because we gate the engine methods based on particular forks and I did not add the BPOs as allowed forks to the method.
1 parent 8deb682 commit 8a19582

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eth/catalyst/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,8 +636,8 @@ func (api *ConsensusAPI) NewPayloadV4(params engine.ExecutableData, versionedHas
636636
return invalidStatus, paramsErr("nil beaconRoot post-cancun")
637637
case executionRequests == nil:
638638
return invalidStatus, paramsErr("nil executionRequests post-prague")
639-
case !api.checkFork(params.Timestamp, forks.Prague, forks.Osaka):
640-
return invalidStatus, unsupportedForkErr("newPayloadV4 must only be called for prague payloads")
639+
case !api.checkFork(params.Timestamp, forks.Prague, forks.Osaka, forks.BPO1, forks.BPO2, forks.BPO3, forks.BPO4, forks.BPO5):
640+
return invalidStatus, unsupportedForkErr("newPayloadV4 must only be called for Prague payloads")
641641
}
642642
requests := convertRequests(executionRequests)
643643
if err := validateRequests(requests); err != nil {

0 commit comments

Comments
 (0)