Skip to content

Commit

Permalink
fix: emit warnings if governance/mint limiter are not contracts (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth authored Oct 11, 2023
1 parent 1fbac31 commit 9812376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evm/deploy-gateway-v5.0.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ async function deploy(config, chain, options) {
}

if (!(await isContract(governance, provider))) {
throw new Error('governance address is not a contract');
printWarn('governance address is not a contract');
}

if (!(await isContract(mintLimiter, provider))) {
throw new Error('mintLimiter address is not a contract');
printWarn('mintLimiter address is not a contract');
}
}

Expand Down

0 comments on commit 9812376

Please sign in to comment.