From d4febb4f6fa301a7f755f5596fb91c41b537d957 Mon Sep 17 00:00:00 2001 From: Christopher Dedominici <18092467+ChristopherDedominici@users.noreply.github.com> Date: Thu, 13 Jul 2023 10:36:48 +0200 Subject: [PATCH] fix test --- .../internal/hardhat-network/provider/fork/ForkBlockchain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hardhat-core/test/internal/hardhat-network/provider/fork/ForkBlockchain.ts b/packages/hardhat-core/test/internal/hardhat-network/provider/fork/ForkBlockchain.ts index f5618976e8..15b2006c59 100644 --- a/packages/hardhat-core/test/internal/hardhat-network/provider/fork/ForkBlockchain.ts +++ b/packages/hardhat-core/test/internal/hardhat-network/provider/fork/ForkBlockchain.ts @@ -77,7 +77,7 @@ describe("ForkBlockchain", () => { }); it("should return latestBlock as fork block because the difference between the latestBlock and maxReorg is < 0", () => { - assert.strictEqual(getLastSafeBlock(100n, 50n), 50n); + assert.strictEqual(getLastSafeBlock(20n, 200n), 20n); }); });