From dc1bf7e2a7da336362e84b2e5167406aee7912ce Mon Sep 17 00:00:00 2001 From: Theo Date: Fri, 26 May 2023 14:38:24 +0300 Subject: [PATCH] Fix parameter - rename '--block-number' to '--fork-block-number' to test running on specified block --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 75ea47f..8976c1e 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "repository": "https://git.tornado.ws/AlienTornadosaurusHex/proposal-22-forge-tests.git", "author": "AlienTornadosaurusHex", "license": "MIT", + "scripts": { + "test": "forge test -vvv --fork-url https://rpc.mevblocker.io --fork-block-number 17336117 --gas-report" + }, "dependencies": { "@gnosis.pm/ido-contracts": "^0.5.0", "@openzeppelin/contracts": "^3.2.0-rc.0",