diff --git a/packages/beacon-state-transition/src/bellatrix/block/processExecutionPayload.ts b/packages/beacon-state-transition/src/bellatrix/block/processExecutionPayload.ts index 92ef117fde2c..de719e717482 100644 --- a/packages/beacon-state-transition/src/bellatrix/block/processExecutionPayload.ts +++ b/packages/beacon-state-transition/src/bellatrix/block/processExecutionPayload.ts @@ -55,7 +55,7 @@ export function processExecutionPayload( parentHash: payload.parentHash, feeRecipient: payload.feeRecipient, stateRoot: payload.stateRoot, - receiptsRoot: payload.receiptsRoot, + receiptRoot: payload.receiptRoot, logsBloom: payload.logsBloom, random: payload.random, blockNumber: payload.blockNumber, diff --git a/packages/lodestar/src/executionEngine/http.ts b/packages/lodestar/src/executionEngine/http.ts index f6b47cd9b829..6322f5f69dfe 100644 --- a/packages/lodestar/src/executionEngine/http.ts +++ b/packages/lodestar/src/executionEngine/http.ts @@ -323,7 +323,7 @@ export function serializeExecutionPayload(data: bellatrix.ExecutionPayload): Exe parentHash: bytesToData(data.parentHash), feeRecipient: bytesToData(data.feeRecipient), stateRoot: bytesToData(data.stateRoot), - receiptsRoot: bytesToData(data.receiptsRoot), + receiptsRoot: bytesToData(data.receiptRoot), logsBloom: bytesToData(data.logsBloom), random: bytesToData(data.random), blockNumber: numToQuantity(data.blockNumber), @@ -342,7 +342,7 @@ export function parseExecutionPayload(data: ExecutionPayloadRpc): bellatrix.Exec parentHash: dataToBytes(data.parentHash, 32), feeRecipient: dataToBytes(data.feeRecipient, 20), stateRoot: dataToBytes(data.stateRoot, 32), - receiptsRoot: dataToBytes(data.receiptsRoot, 32), + receiptRoot: dataToBytes(data.receiptsRoot, 32), logsBloom: dataToBytes(data.logsBloom, BYTES_PER_LOGS_BLOOM), random: dataToBytes(data.random, 32), blockNumber: quantityToNum(data.blockNumber), diff --git a/packages/lodestar/src/executionEngine/mock.ts b/packages/lodestar/src/executionEngine/mock.ts index ede6b0bbf3f3..23e44adcf4f3 100644 --- a/packages/lodestar/src/executionEngine/mock.ts +++ b/packages/lodestar/src/executionEngine/mock.ts @@ -33,7 +33,7 @@ export class ExecutionEngineMock implements IExecutionEngine { parentHash: ZERO_HASH, feeRecipient: Buffer.alloc(20, 0), stateRoot: ZERO_HASH, - receiptsRoot: ZERO_HASH, + receiptRoot: ZERO_HASH, logsBloom: Buffer.alloc(BYTES_PER_LOGS_BLOOM, 0), random: ZERO_HASH, blockNumber: 0, diff --git a/packages/types/src/bellatrix/sszTypes.ts b/packages/types/src/bellatrix/sszTypes.ts index 661acbf1e346..2bcac077a0d2 100644 --- a/packages/types/src/bellatrix/sszTypes.ts +++ b/packages/types/src/bellatrix/sszTypes.ts @@ -31,7 +31,7 @@ const executionPayloadFields = { parentHash: Root, feeRecipient: Bytes20, stateRoot: Bytes32, - receiptsRoot: Bytes32, + receiptRoot: Bytes32, logsBloom: new ByteVectorType(BYTES_PER_LOGS_BLOOM), random: Bytes32, blockNumber: UintNum64,