Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase committee size in sim tests
Browse files Browse the repository at this point in the history
twoeths committed Apr 14, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 053f76a commit 1cc5197
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/lodestar/test/sim/multiNodeMultiThread.test.ts
Original file line number Diff line number Diff line change
@@ -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,
});
6 changes: 3 additions & 3 deletions packages/lodestar/test/sim/multiNodeSingleThread.test.ts
Original file line number Diff line number Diff line change
@@ -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<unknown> | void)[] = [];
2 changes: 1 addition & 1 deletion packages/lodestar/test/sim/singleNodeSingleThread.test.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 1cc5197

Please sign in to comment.