Skip to content

Commit 6924eea

Browse files
authored
eth/catalyst: allow fcuV3 for BPO forks (ethereum#32615)
This fixes an issue with the engine API after BPO forks have passed.
1 parent 791e9fb commit 6924eea

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
@@ -213,8 +213,8 @@ func (api *ConsensusAPI) ForkchoiceUpdatedV3(update engine.ForkchoiceStateV1, pa
213213
return engine.STATUS_INVALID, attributesErr("missing withdrawals")
214214
case params.BeaconRoot == nil:
215215
return engine.STATUS_INVALID, attributesErr("missing beacon root")
216-
case !api.checkFork(params.Timestamp, forks.Cancun, forks.Prague, forks.Osaka):
217-
return engine.STATUS_INVALID, unsupportedForkErr("fcuV3 must only be called for cancun or prague payloads")
216+
case !api.checkFork(params.Timestamp, forks.Cancun, forks.Prague, forks.Osaka, forks.BPO1, forks.BPO2, forks.BPO3, forks.BPO4, forks.BPO5):
217+
return engine.STATUS_INVALID, unsupportedForkErr("fcuV3 must only be called for cancun/prague/osaka payloads")
218218
}
219219
}
220220
// TODO(matt): the spec requires that fcu is applied when called on a valid

0 commit comments

Comments
 (0)