From 64242c2071006eeee683387e1dc649e74283b533 Mon Sep 17 00:00:00 2001 From: Karl Bartel Date: Tue, 16 May 2023 15:29:14 +0200 Subject: [PATCH] Remove minimum version check test To allow removal of the check in the client, see https://github.com/celo-org/celo-blockchain/pull/2026. --- .../src/e2e-tests/blockchain_parameters_tests.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/packages/celotool/src/e2e-tests/blockchain_parameters_tests.ts b/packages/celotool/src/e2e-tests/blockchain_parameters_tests.ts index 8641f433e9c..d8ab4d7ba86 100644 --- a/packages/celotool/src/e2e-tests/blockchain_parameters_tests.ts +++ b/packages/celotool/src/e2e-tests/blockchain_parameters_tests.ts @@ -84,19 +84,5 @@ describe('Blockchain parameters tests', function (this: any) { const res = await parameters.getBlockGasLimit() assert.equal(0, res.comparedTo(23000000)) }) - it('should exit when minimum version is updated', async () => { - this.timeout(0) - await setMinimumClientVersion(1, 9, 99) - // The client checks every 60 seconds and then waits 10 seconds before quitting, so we - // may have to wait a little over 70 seconds - await sleep(75, true) - try { - // It should have exited by now, call RPC to trigger error - await kit.connection.getBlockNumber() - } catch (_) { - return - } - throw new Error('expected failure') - }) }) })