Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Nov 2, 2023
1 parent 420d002 commit b9db747
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions evm/deploy-gateway-v6.2.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,13 @@ async function deploy(config, chain, options) {
if (!chain.contracts.InterchainGovernance) {
chain.contracts.InterchainGovernance = {};
}

chain.contracts.InterchainGovernance.address = governance;

if (!chain.contracts.Multisig) {
chain.contracts.Multisig = {};
}

chain.contracts.Multisig.address = mintLimiter;

printInfo('Deployment status', 'SUCCESS');
Expand Down Expand Up @@ -391,11 +393,13 @@ async function upgrade(_, chain, options) {
if (!chain.contracts.InterchainGovernance) {
chain.contracts.InterchainGovernance = {};
}

chain.contracts.InterchainGovernance.address = governance;

if (!chain.contracts.Multisig) {
chain.contracts.Multisig = {};
}

chain.contracts.Multisig.address = mintLimiter;

if (!offline) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Axelar contract deployment scripts",
"main": "index.js",
"scripts": {
"lint": "eslint '**/*.js'",
"lint": "eslint --fix '**/*.js'",
"prettier": "prettier --write '**/*.js' 'axelar-chains-config/info/*.json' 'package.json' 'evm/**/*.json' '.github/**/*.yaml'"
},
"repository": {
Expand Down

0 comments on commit b9db747

Please sign in to comment.