Skip to content

Commit

Permalink
pass nil as versionedHashes to skip checking
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiangxu committed Apr 27, 2024
1 parent f25a878 commit 2b4bbf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-service/sources/engine_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2b4bbf2

Please sign in to comment.