From 2f3367dbbff40e195f22c8588f77dff31e7fe9d7 Mon Sep 17 00:00:00 2001 From: Tuyen Nguyen Date: Wed, 9 Aug 2023 15:08:36 +0700 Subject: [PATCH] chore: more tests for different vaildator number --- .../fork-choice/test/perf/protoArray/computeDeltas.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/fork-choice/test/perf/protoArray/computeDeltas.test.ts b/packages/fork-choice/test/perf/protoArray/computeDeltas.test.ts index 10421f8b9a76..f0b56fc1e7eb 100644 --- a/packages/fork-choice/test/perf/protoArray/computeDeltas.test.ts +++ b/packages/fork-choice/test/perf/protoArray/computeDeltas.test.ts @@ -11,7 +11,8 @@ describe("computeDeltas", () => { const oldRoot = "0x32dec344944029ba183ac387a7aa1f2068591c00e9bfadcfb238e50fbe9ea38e"; const newRoot = "0xb59f3a209f639dd6b5645ea9fad8d441df44c3be93bd1bbf50ef90bf124d1238"; - for (const numValidator of [800_000, 2_100_100]) { + // 2 first numbers are respective to number of validators in goerli, mainnet as of Aug 2023 + for (const numValidator of [500_000, 750_000, 1_400_000, 2_100_000]) { before(function () { this.timeout(2 * 60 * 1000); oldBalances = getEffectiveBalanceIncrementsZeroed(numValidator);