Skip to content

Commit

Permalink
fix assemble
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Nov 13, 2023
1 parent f7cab91 commit 3879e2f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
import tech.pegasys.teku.spec.Spec;
import tech.pegasys.teku.spec.TestSpecFactory;
import tech.pegasys.teku.spec.datastructures.blocks.SignedBeaconBlock;
import tech.pegasys.teku.spec.datastructures.blocks.SignedBlindedBlockContainer;
import tech.pegasys.teku.spec.datastructures.blocks.SignedBlockContainer;
import tech.pegasys.teku.spec.datastructures.builder.BuilderBid;
import tech.pegasys.teku.spec.datastructures.builder.BuilderPayload;
import tech.pegasys.teku.spec.datastructures.builder.ExecutionPayloadAndBlobsBundle;
Expand Down Expand Up @@ -477,15 +477,15 @@ private BuilderPayload verifyFallbackToLocalEL(
}

private ExecutionPayload prepareBuilderGetPayloadResponse(
final SignedBlindedBlockContainer signedBlindedBlockContainer) {
final SignedBlockContainer signedBlindedBlockContainer) {
final ExecutionPayload payload = dataStructureUtil.randomExecutionPayload();
when(builderClient.getPayload(signedBlindedBlockContainer.getSignedBlock()))
.thenReturn(SafeFuture.completedFuture(new Response<>(payload)));
return payload;
}

private ExecutionPayloadAndBlobsBundle prepareBuilderGetPayloadResponseWithBlobs(
final SignedBlindedBlockContainer signedBlindedBlockContainer) {
final SignedBlockContainer signedBlindedBlockContainer) {
final ExecutionPayloadAndBlobsBundle payloadAndBlobsBundle =
dataStructureUtil.randomExecutionPayloadAndBlobsBundle();
when(builderClient.getPayload(signedBlindedBlockContainer.getSignedBlock()))
Expand Down

0 comments on commit 3879e2f

Please sign in to comment.