Skip to content

Commit

Permalink
Merge pull request #8 from ethpandaops/feat/payloadv3
Browse files Browse the repository at this point in the history
feat: add engine_newPayloadV3
  • Loading branch information
Savid authored Apr 17, 2023
2 parents b997057 + fce9cf3 commit 5064dab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/execution/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ func (h *Handler) Request(ctx context.Context, id int, method string, params []*
return nil, err
}

resp.Result = result
case "engine_newPayloadV3":
result, err := h.newPayload(params)
if err != nil {
return nil, err
}

resp.Result = result
case "eth_getBlockByHash":
result, err := h.getBlockByHash(params)
Expand Down

0 comments on commit 5064dab

Please sign in to comment.