Commit 587a7d0d authored by Marco Vasapollo's avatar Marco Vasapollo Committed by GitHub

fix: switch between empty/forked chain without the need to recreate the entire image (#2795)

parent 234f30ed
---
'@eth-optimism/hardhat-node': minor
---
Correct configuration file behavior
require('dotenv').config()
const isForkModeEnabled = !!process.env.FORK_URL const isForkModeEnabled = !!process.env.FORK_URL
const forkUrl = process.env.FORK_URL const forkUrl = process.env.FORK_URL
const forkStartingBlock = const forkStartingBlock =
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"dotenv": "^10.0.0",
"hardhat": "^2.9.6" "hardhat": "^2.9.6"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment