Skip to content

Commit

Permalink
feat: add engine_newPayloadV3
Browse files Browse the repository at this point in the history
  • Loading branch information
Savid committed Apr 17, 2023
1 parent b997057 commit fce9cf3
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 fce9cf3

Please sign in to comment.