Skip to content

Commit

Permalink
Remove minimum version check test
Browse files Browse the repository at this point in the history
To allow removal of the check in the client, see
celo-org/celo-blockchain#2026.
  • Loading branch information
karlb committed May 16, 2023
1 parent f9c2652 commit 64242c2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/celotool/src/e2e-tests/blockchain_parameters_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
})
})

0 comments on commit 64242c2

Please sign in to comment.