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 bac369d commit d8dd8d8Copy full SHA for d8dd8d8
contracts/scripts/change-keypers.js
@@ -16,6 +16,10 @@ process.chdir(path.dirname(__dirname)); // allow calling the script from anywher
16
const hre = require("hardhat");
17
18
async function main() {
19
+ if (process.env.DEPLOY_CONF === undefined) {
20
+ console.error("please set DEPLOY_CONF environment variable");
21
+ return;
22
+ }
23
// TODO can we get access to the hre in a script like this?
24
// TODO use a different json file to determine the keyper changes
25
const deployConf = JSON.parse(fs.readFileSync(process.env.DEPLOY_CONF));
0 commit comments