From d3207ed06812a9206bf1b7bea79f4618a4d19b8a Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 18 Apr 2025 09:28:38 +0200 Subject: [PATCH] Remove conditional allowBlocksWithSameTimestamp, set true everytime --- hardhat.config.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hardhat.config.js b/hardhat.config.js index 24cb3b6..24e4ed0 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -23,7 +23,7 @@ module.exports = { networks: { hardhat: { tags: ["local"], - allowBlocksWithSameTimestamp: process.env.NODE_ENV == "test", + allowBlocksWithSameTimestamp: true, }, localhost: { tags: ["local"], diff --git a/package.json b/package.json index 86804f3..39da04d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "codex-contracts-eth", "license": "MIT", "scripts": { - "test": "npm run lint && NODE_ENV=test hardhat test", + "test": "npm run lint && hardhat test", "fuzz": "hardhat compile && fuzzing/fuzz.sh", "start": "concurrently --names \"hardhat,deployment\" --prefix \"[{time} {name}]\" \"hardhat node\" \"sleep 2 && npm run deploy\"", "compile": "hardhat compile",