Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Sep 16, 2024
1 parent 26198f8 commit 1ffe185
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ private ExecutionPayloadHeader createLocalBid(
schemaDefinitions
.getBlobKzgCommitmentsSchema()
.createFromBlobsBundle(getPayloadResponse.getBlobsBundle().orElseThrow());
// convert Wei to Gwei
return schemaDefinitions
.getExecutionPayloadHeaderSchema()
.createExecutionPayloadHeader(
Expand All @@ -124,6 +123,7 @@ private ExecutionPayloadHeader createLocalBid(
.gasLimit(getPayloadResponse.getExecutionPayload().getGasLimit())
.builderIndex(() -> builderIndex)
.slot(() -> slot)
// Engine API returns the block value in wei, so conversion to gwei is required
.value(() -> weiToGwei(getPayloadResponse.getExecutionPayloadValue()))
.blobKzgCommitmentsRoot(blobKzgCommitments::hashTreeRoot));
}
Expand Down

0 comments on commit 1ffe185

Please sign in to comment.