Skip to content

Commit

Permalink
Merge b021105 into 3b5941a
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech authored Sep 2, 2023
2 parents 3b5941a + b021105 commit d3a3ef7
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,14 @@ export async function produceBlockBody<T extends BlockType>(
(blockBody as capella.BeaconBlockBody).blsToExecutionChanges = blsToExecutionChanges;
Object.assign(logMeta, {
blsToExecutionChanges: blsToExecutionChanges.length,
withdrawals: (blockBody as capella.BeaconBlockBody).executionPayload.withdrawals.length,
});

// withdrawals are only available in full body
if (blockType === BlockType.Full) {
Object.assign(logMeta, {
withdrawals: (blockBody as capella.BeaconBlockBody).executionPayload.withdrawals.length,
});
}
}

Object.assign(logMeta, {blockValue});
Expand Down

0 comments on commit d3a3ef7

Please sign in to comment.