From 2b4bbf2430feb00e05105bcc47dcd8effb6c104c Mon Sep 17 00:00:00 2001 From: zhiqiangxu <652732310@qq.com> Date: Sat, 27 Apr 2024 13:34:12 +0800 Subject: [PATCH] pass nil as versionedHashes to skip checking --- op-service/sources/engine_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op-service/sources/engine_client.go b/op-service/sources/engine_client.go index 183356f03c533..53c77d333b1cb 100644 --- a/op-service/sources/engine_client.go +++ b/op-service/sources/engine_client.go @@ -127,7 +127,7 @@ func (s *EngineAPIClient) NewPayload(ctx context.Context, payload *eth.Execution var err error switch method := s.evp.NewPayloadVersion(uint64(payload.Timestamp)); method { case eth.NewPayloadV3: - err = s.RPC.CallContext(execCtx, &result, string(method), payload, []common.Hash{}, parentBeaconBlockRoot) + err = s.RPC.CallContext(execCtx, &result, string(method), payload, nil /*pass nil to skip check versionedHashes*/, parentBeaconBlockRoot) case eth.NewPayloadV2: err = s.RPC.CallContext(execCtx, &result, string(method), payload) default: