From df8b3e7869ea0bf64d54927fe3c8501f085a522e Mon Sep 17 00:00:00 2001 From: harkamal Date: Fri, 18 Aug 2023 23:13:50 +0530 Subject: [PATCH] fix tests --- packages/validator/test/unit/services/block.test.ts | 2 +- .../validator/test/unit/services/produceBlockwrapper.test.ts | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/validator/test/unit/services/block.test.ts b/packages/validator/test/unit/services/block.test.ts index ec88ff790702..e54f9b60dc74 100644 --- a/packages/validator/test/unit/services/block.test.ts +++ b/packages/validator/test/unit/services/block.test.ts @@ -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, }); diff --git a/packages/validator/test/unit/services/produceBlockwrapper.test.ts b/packages/validator/test/unit/services/produceBlockwrapper.test.ts index 89edcbada1a8..ae03ed6dd18d 100644 --- a/packages/validator/test/unit/services/produceBlockwrapper.test.ts +++ b/packages/validator/test/unit/services/produceBlockwrapper.test.ts @@ -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,