Skip to content

Commit 1531b19

Browse files
committed
Fix field misnaming
1 parent 7eef947 commit 1531b19

File tree

1 file changed

+2
-2
lines changed
  • packages/beacon-node/src/execution/engine

1 file changed

+2
-2
lines changed

packages/beacon-node/src/execution/engine/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ type ExecutionPayloadRpcWithValue = {
116116
// even though CL tracks this as executionPayloadValue, EL returns this as blockValue
117117
blockValue: QUANTITY;
118118
blobsBundle?: BlobsBundleRpc;
119-
requests?: ExecutionRequestsRpc;
119+
executionRequests?: ExecutionRequestsRpc;
120120
shouldOverrideBuilder?: boolean;
121121
};
122122
type ExecutionPayloadResponse = ExecutionPayloadRpc | ExecutionPayloadRpcWithValue;
@@ -266,7 +266,7 @@ export function parseExecutionPayload(
266266
executionPayloadValue = quantityToBigint(response.blockValue);
267267
data = response.executionPayload;
268268
blobsBundle = response.blobsBundle ? parseBlobsBundle(response.blobsBundle) : undefined;
269-
executionRequests = response.requests ? deserializeExecutionRequests(response.requests) : undefined;
269+
executionRequests = response.executionRequests ? deserializeExecutionRequests(response.executionRequests) : undefined;
270270
shouldOverrideBuilder = response.shouldOverrideBuilder ?? false;
271271
} else {
272272
data = response;

0 commit comments

Comments
 (0)