Skip to content

Commit

Permalink
Fix field misnaming
Browse files Browse the repository at this point in the history
  • Loading branch information
ensi321 committed Oct 17, 2024
1 parent 7eef947 commit 1531b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/beacon-node/src/execution/engine/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ type ExecutionPayloadRpcWithValue = {
// even though CL tracks this as executionPayloadValue, EL returns this as blockValue
blockValue: QUANTITY;
blobsBundle?: BlobsBundleRpc;
requests?: ExecutionRequestsRpc;
executionRequests?: ExecutionRequestsRpc;
shouldOverrideBuilder?: boolean;
};
type ExecutionPayloadResponse = ExecutionPayloadRpc | ExecutionPayloadRpcWithValue;
Expand Down Expand Up @@ -266,7 +266,7 @@ export function parseExecutionPayload(
executionPayloadValue = quantityToBigint(response.blockValue);
data = response.executionPayload;
blobsBundle = response.blobsBundle ? parseBlobsBundle(response.blobsBundle) : undefined;
executionRequests = response.requests ? deserializeExecutionRequests(response.requests) : undefined;
executionRequests = response.executionRequests ? deserializeExecutionRequests(response.executionRequests) : undefined;
shouldOverrideBuilder = response.shouldOverrideBuilder ?? false;
} else {
data = response;
Expand Down

0 comments on commit 1531b19

Please sign in to comment.