From 011d1bf934c5f16a26d8d766cfbc83e8a6bc0101 Mon Sep 17 00:00:00 2001 From: harkamal Date: Fri, 18 Aug 2023 21:19:08 +0530 Subject: [PATCH] update test --- packages/api/test/unit/beacon/testData/validator.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/api/test/unit/beacon/testData/validator.ts b/packages/api/test/unit/beacon/testData/validator.ts index 9a4f7f49e9c1..157e35baa62f 100644 --- a/packages/api/test/unit/beacon/testData/validator.ts +++ b/packages/api/test/unit/beacon/testData/validator.ts @@ -46,10 +46,18 @@ export const testData: GenericServerTestCases = { }, produceBlock: { args: [32000, randaoReveal, graffiti], - res: {data: ssz.phase0.BeaconBlock.defaultValue(), executionPayloadValue: ssz.Wei.defaultValue()}, + res: {data: ssz.phase0.BeaconBlock.defaultValue()}, }, produceBlockV2: { - args: [32000, randaoReveal, graffiti], + args: [32000, randaoReveal, graffiti, feeRecipient], + res: { + data: ssz.altair.BeaconBlock.defaultValue(), + version: ForkName.altair, + executionPayloadValue: ssz.Wei.defaultValue(), + }, + }, + produceBlockV3: { + args: [32000, randaoReveal, graffiti, feeRecipient, true], res: { data: ssz.altair.BeaconBlock.defaultValue(), version: ForkName.altair,