Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Aug 18, 2023
1 parent 9e116df commit df8b3e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion packages/validator/test/unit/services/block.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe("BlockDutiesService", function () {
validatorStore.signRandao.resolves(signedBlock.message.body.randaoReveal);
validatorStore.signBlock.callsFake(async (_, block) => ({message: block, signature: signedBlock.signature}));
api.validator.produceBlock.resolves({
response: {data: signedBlock.message, executionPayloadValue: ssz.Wei.defaultValue()},
response: {data: signedBlock.message},
ok: true,
status: HttpStatusCode.OK,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ describe("Produce Block with BuilderSelection", function () {
}

if (enginePayloadValue !== null) {
api.validator.produceBlock.resolves({
response: {data: fullBlock, executionPayloadValue: BigInt(enginePayloadValue)},
ok: true,
status: HttpStatusCode.OK,
});
api.validator.produceBlockV2.resolves({
response: {
data: fullBlock,
Expand Down

0 comments on commit df8b3e7

Please sign in to comment.