From 1cc51970a9497f8c0743e1aa4916ede56953093e Mon Sep 17 00:00:00 2001 From: Tuyen Nguyen Date: Thu, 14 Apr 2022 09:43:02 +0700 Subject: [PATCH] Increase committee size in sim tests --- packages/lodestar/test/sim/multiNodeMultiThread.test.ts | 2 +- packages/lodestar/test/sim/multiNodeSingleThread.test.ts | 6 +++--- packages/lodestar/test/sim/singleNodeSingleThread.test.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/lodestar/test/sim/multiNodeMultiThread.test.ts b/packages/lodestar/test/sim/multiNodeMultiThread.test.ts index ededbdb9ccd5..b1dac2d1a485 100644 --- a/packages/lodestar/test/sim/multiNodeMultiThread.test.ts +++ b/packages/lodestar/test/sim/multiNodeMultiThread.test.ts @@ -45,7 +45,7 @@ describe("Run multi node multi thread interop validators (no eth1) until checkpo for (const testCase of testCases) { runMultiNodeMultiThreadTest({ nodeCount: 4, - validatorsPerNode: 8, + validatorsPerNode: 32, event: ChainEvent.justified, altairForkEpoch: testCase.altairForkEpoch, }); diff --git a/packages/lodestar/test/sim/multiNodeSingleThread.test.ts b/packages/lodestar/test/sim/multiNodeSingleThread.test.ts index 5a7bee201aa2..a327d0db1aec 100644 --- a/packages/lodestar/test/sim/multiNodeSingleThread.test.ts +++ b/packages/lodestar/test/sim/multiNodeSingleThread.test.ts @@ -28,11 +28,11 @@ describe("Run multi node single thread interop validators (no eth1) until checkp altairForkEpoch: number; }[] = [ // Test phase0 to justification - {nodeCount: 4, validatorsPerNode: 8, event: ChainEvent.justified, altairForkEpoch: Infinity}, + {nodeCount: 4, validatorsPerNode: 32, event: ChainEvent.justified, altairForkEpoch: Infinity}, // Test altair only - {nodeCount: 4, validatorsPerNode: 8, event: ChainEvent.justified, altairForkEpoch: 0}, + {nodeCount: 4, validatorsPerNode: 32, event: ChainEvent.justified, altairForkEpoch: 0}, // Test phase -> altair fork transition - {nodeCount: 4, validatorsPerNode: 8, event: ChainEvent.justified, altairForkEpoch: 2}, + {nodeCount: 4, validatorsPerNode: 32, event: ChainEvent.justified, altairForkEpoch: 2}, ]; const afterEachCallbacks: (() => Promise | void)[] = []; diff --git a/packages/lodestar/test/sim/singleNodeSingleThread.test.ts b/packages/lodestar/test/sim/singleNodeSingleThread.test.ts index f3b2b6eaa885..2b14eba03603 100644 --- a/packages/lodestar/test/sim/singleNodeSingleThread.test.ts +++ b/packages/lodestar/test/sim/singleNodeSingleThread.test.ts @@ -23,7 +23,7 @@ describe("Run single node single thread interop validators (no eth1) until check }; const validatorClientCount = 1; - const validatorsPerClient = 32; + const validatorsPerClient = 32 * 4; const testCases: { event: ChainEvent.justified | ChainEvent.finalized;