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 67ba495 commit 28c47fbCopy full SHA for 28c47fb
hardhat.config.ts
@@ -4,6 +4,12 @@ import '@matterlabs/hardhat-zksync-toolbox';
4
import '@nomiclabs/hardhat-solhint';
5
import '@typechain/hardhat';
6
7
+console.log(
8
+ process.env.NODE_ENV,
9
+ process.env.NODE_ENV !== 'test',
10
+ !process.env.INFURA_API_KEY,
11
+);
12
+
13
if (process.env.NODE_ENV !== 'test' && !process.env.INFURA_API_KEY) {
14
throw new Error('INFURA_API_KEY must be provided with .env');
15
}
0 commit comments