diff --git a/eth/catalyst/api.go b/eth/catalyst/api.go index c44d8d58d1..6dfe24f729 100644 --- a/eth/catalyst/api.go +++ b/eth/catalyst/api.go @@ -546,8 +546,8 @@ func (api *ConsensusAPI) GetBlobsV1(hashes []common.Hash) ([]*engine.BlobAndProo // blob pool data. func (api *ConsensusAPI) GetBlobsV2(hashes []common.Hash) ([]*engine.BlobAndProofV2, error) { head := api.eth.BlockChain().CurrentHeader() - if !api.checkFork(head.Time, forks.Osaka) { - return nil, unsupportedForkErr("engine_getBlobsV2 is only available at Osaka fork") + if api.config().LatestFork(head.Time) < forks.Osaka { + return nil, unsupportedForkErr("engine_getBlobsV2 is not available before Osaka fork") } if len(hashes) > 128 { return nil, engine.TooLargeRequest.With(fmt.Errorf("requested blob count too large: %v", len(hashes)))