diff --git a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ExecutionPayloadHeaderFactory.java b/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ExecutionPayloadHeaderFactory.java index 2a9a4df04f2..6ba00aae373 100644 --- a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ExecutionPayloadHeaderFactory.java +++ b/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ExecutionPayloadHeaderFactory.java @@ -112,7 +112,6 @@ private ExecutionPayloadHeader createLocalBid( schemaDefinitions .getBlobKzgCommitmentsSchema() .createFromBlobsBundle(getPayloadResponse.getBlobsBundle().orElseThrow()); - // convert Wei to Gwei return schemaDefinitions .getExecutionPayloadHeaderSchema() .createExecutionPayloadHeader( @@ -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)); }