From cc5d5fcd33233b502da952c86b673357e76f423b Mon Sep 17 00:00:00 2001 From: Kristaps Grinbergs Date: Sun, 14 Apr 2024 06:24:08 +0000 Subject: [PATCH] Sets Hardhat version to older so can run tests FLR-967 --- include/runner.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/runner.md b/include/runner.md index c06722fe1..09fde7b1c 100644 --- a/include/runner.md +++ b/include/runner.md @@ -95,8 +95,9 @@ Get test currency from the faucet an 2. Initialize a new npm project and install dependencies: ```bash npm init - npm install hardhat @nomicfoundation/hardhat-toolbox @flarenetwork/flare-periphery-contracts + npm install hardhat@2.20.1 @nomicfoundation/hardhat-toolbox @flarenetwork/flare-periphery-contracts ``` + If you intend to test as explained in the following steps, be aware that [an open issue with Hardhat](https://github.com/NomicFoundation/hardhat/issues/5115) prevents using versions higher than `2.20.1`. 3. Create a new Hardhat project (More information in [the Hardhat setup guide](/dev/getting-started/setup/hardhat/)): ```bash npx hardhat init