Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
invocamanman committed Jan 9, 2023
1 parent 7a08069 commit 3b81f7e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion upgrade/timeLockUpgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ async function main() {
}
}

// Check contract name existence
for (const upgrade of upgradeParameters.upgrades) {
await ethers.getContractFactory(upgrade.contractName);
}

let deployer;
if (upgradeParameters.deployerPvtKey) {
deployer = new ethers.Wallet(upgradeParameters.deployerPvtKey, currentProvider);
Expand Down Expand Up @@ -81,7 +86,7 @@ async function main() {
minDelay,
],
);
// Executre operation
// Execute operation
const executeData = TimelockFactory.interface.encodeFunctionData(
'execute',
[
Expand Down

0 comments on commit 3b81f7e

Please sign in to comment.