We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3389d02 commit 3dea5d0Copy full SHA for 3dea5d0
2 files changed
contracts/hardhat.config.js
@@ -176,6 +176,9 @@ module.exports = {
176
mnemonic,
177
},
178
179
+ localhost: {
180
+ timeout: 60000
181
+ },
182
rinkeby: {
183
url: `${process.env.PROVIDER_URL}`,
184
accounts: [
contracts/node.sh
@@ -12,7 +12,8 @@ then
12
params+=(--fork-block-number ${BLOCK_NUMBER})
13
fi
14
cp -r deployments/mainnet deployments/localhost
15
- FORK=true npx hardhat node --export '../dapp/network.json' ${params[@]}
+ # the --no-install is here so npx doesn't download some package on its own if it can not find one in the repo
16
+ FORK=true npx --no-install hardhat node --export '../dapp/network.json' ${params[@]}
17
else
- npx hardhat node --export '../dapp/network.json'
18
+ npx --no-install hardhat node --export '../dapp/network.json'
19
0 commit comments