mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
eth/catalyst: return empty response for GetBlobsV2 before Osaka (#33444)
Fix #33420
This commit is contained in:
parent
5dfcffcf3c
commit
dd7daace9d
1 changed files with 1 additions and 1 deletions
|
|
@ -563,7 +563,7 @@ func (api *ConsensusAPI) GetBlobsV1(hashes []common.Hash) ([]*engine.BlobAndProo
|
|||
func (api *ConsensusAPI) GetBlobsV2(hashes []common.Hash) ([]*engine.BlobAndProofV2, error) {
|
||||
head := api.eth.BlockChain().CurrentHeader()
|
||||
if api.config().LatestFork(head.Time) < forks.Osaka {
|
||||
return nil, unsupportedForkErr("engine_getBlobsV2 is not available before Osaka fork")
|
||||
return nil, nil
|
||||
}
|
||||
if len(hashes) > 128 {
|
||||
return nil, engine.TooLargeRequest.With(fmt.Errorf("requested blob count too large: %v", len(hashes)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue