Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Aug 18, 2023
1 parent 58a37cf commit 011d1bf
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/api/test/unit/beacon/testData/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,18 @@ export const testData: GenericServerTestCases<Api> = {
},
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,
Expand Down

0 comments on commit 011d1bf

Please sign in to comment.