Skip to content

Commit

Permalink
feat: upgrade stagenet gas service
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Aug 10, 2023
1 parent b0e3631 commit 527fef7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 20 deletions.
17 changes: 17 additions & 0 deletions evm/verify-contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,19 @@ async function verifyContracts(config, chain, options) {
break;
}

case 'Operators': {
const Operators = require('@axelar-network/axelar-gmp-sdk-solidity/artifacts/contracts/utils/Operators.sol/Operators.json');

const contractFactory = await getContractAt(Operators.abi, wallet);

const contract = contractFactory.attach(options.address || chain.contracts.Operators.address);

console.log(`Verifying ${contractName} on ${chain.name} at address ${contract.address}...`);

await verifyContract(env, chain.name, contract.address, [chain.contracts.Operators.owner]);
break;
}

case 'AxelarGateway': {
const gatewayFactory = await getContractFactory('AxelarGateway', wallet);
const gateway = gatewayFactory.attach(options.address || chain.contracts.AxelarGateway.address);
Expand Down Expand Up @@ -133,6 +146,10 @@ async function verifyContracts(config, chain, options) {
await verifyContract(env, chain.name, tokenContract.address, [name, symbol, decimals, cap]);
break;
}

default: {
throw new Error(`Contract ${contractName} is not supported`);
}
}
}

Expand Down
40 changes: 20 additions & 20 deletions info/stagenet.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x47E840B35e0eca3E7C0577835DD78d95574873e7",
"implementation": "0xb0D90eEd481cCA3Ba68978762f5920567AC0eA6E",
"implementation": "0x6eB032396411937905F94459591d0Ed24D0a40c3",
"deployer": "0x9D97cf3AC20b73c81d8A5233d9FBe09618d4F8bd",
"collector": "0x378b2d388b1665b63089553251C18aA8684e4245"
"collector": "0x40955d09718525559ec1bb8b37d7c211F14D2C3d"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
Expand Down Expand Up @@ -59,9 +59,9 @@
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x47E840B35e0eca3E7C0577835DD78d95574873e7",
"implementation": "0xb0D90eEd481cCA3Ba68978762f5920567AC0eA6E",
"implementation": "0x6eB032396411937905F94459591d0Ed24D0a40c3",
"deployer": "0x9D97cf3AC20b73c81d8A5233d9FBe09618d4F8bd",
"collector": "0x378b2d388b1665b63089553251C18aA8684e4245"
"collector": "0x40955d09718525559ec1bb8b37d7c211F14D2C3d"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
Expand Down Expand Up @@ -105,9 +105,9 @@
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x47E840B35e0eca3E7C0577835DD78d95574873e7",
"implementation": "0xb0D90eEd481cCA3Ba68978762f5920567AC0eA6E",
"implementation": "0x7199983dFa2F395dd7edE9FCC97FfD5fea09E57d",
"deployer": "0x9D97cf3AC20b73c81d8A5233d9FBe09618d4F8bd",
"collector": "0x378b2d388b1665b63089553251C18aA8684e4245"
"collector": "0x40955d09718525559ec1bb8b37d7c211F14D2C3d"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
Expand Down Expand Up @@ -151,9 +151,9 @@
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x47E840B35e0eca3E7C0577835DD78d95574873e7",
"implementation": "0xb0D90eEd481cCA3Ba68978762f5920567AC0eA6E",
"implementation": "0x6eB032396411937905F94459591d0Ed24D0a40c3",
"deployer": "0x9D97cf3AC20b73c81d8A5233d9FBe09618d4F8bd",
"collector": "0x378b2d388b1665b63089553251C18aA8684e4245"
"collector": "0x40955d09718525559ec1bb8b37d7c211F14D2C3d"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
Expand Down Expand Up @@ -197,9 +197,9 @@
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x47E840B35e0eca3E7C0577835DD78d95574873e7",
"implementation": "0xb0D90eEd481cCA3Ba68978762f5920567AC0eA6E",
"implementation": "0x6eB032396411937905F94459591d0Ed24D0a40c3",
"deployer": "0x9D97cf3AC20b73c81d8A5233d9FBe09618d4F8bd",
"collector": "0x378b2d388b1665b63089553251C18aA8684e4245"
"collector": "0x40955d09718525559ec1bb8b37d7c211F14D2C3d"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
Expand Down Expand Up @@ -243,9 +243,9 @@
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x47E840B35e0eca3E7C0577835DD78d95574873e7",
"implementation": "0xb0D90eEd481cCA3Ba68978762f5920567AC0eA6E",
"implementation": "0x6eB032396411937905F94459591d0Ed24D0a40c3",
"deployer": "0x9D97cf3AC20b73c81d8A5233d9FBe09618d4F8bd",
"collector": "0x378b2d388b1665b63089553251C18aA8684e4245"
"collector": "0x40955d09718525559ec1bb8b37d7c211F14D2C3d"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
Expand Down Expand Up @@ -289,9 +289,9 @@
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x47E840B35e0eca3E7C0577835DD78d95574873e7",
"implementation": "0xb0D90eEd481cCA3Ba68978762f5920567AC0eA6E",
"implementation": "0x6eB032396411937905F94459591d0Ed24D0a40c3",
"deployer": "0x9D97cf3AC20b73c81d8A5233d9FBe09618d4F8bd",
"collector": "0x378b2d388b1665b63089553251C18aA8684e4245"
"collector": "0x40955d09718525559ec1bb8b37d7c211F14D2C3d"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
Expand Down Expand Up @@ -338,9 +338,9 @@
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x47E840B35e0eca3E7C0577835DD78d95574873e7",
"implementation": "0xb0D90eEd481cCA3Ba68978762f5920567AC0eA6E",
"implementation": "0x571Ac97CeDDe864E15e03aeE82BB09e63459bCcD",
"deployer": "0x9D97cf3AC20b73c81d8A5233d9FBe09618d4F8bd",
"collector": "0x378b2d388b1665b63089553251C18aA8684e4245"
"collector": "0x40955d09718525559ec1bb8b37d7c211F14D2C3d"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
Expand Down Expand Up @@ -383,9 +383,9 @@
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x47E840B35e0eca3E7C0577835DD78d95574873e7",
"implementation": "0xb0D90eEd481cCA3Ba68978762f5920567AC0eA6E",
"implementation": "0x571Ac97CeDDe864E15e03aeE82BB09e63459bCcD",
"deployer": "0x9D97cf3AC20b73c81d8A5233d9FBe09618d4F8bd",
"collector": "0x378b2d388b1665b63089553251C18aA8684e4245"
"collector": "0x40955d09718525559ec1bb8b37d7c211F14D2C3d"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
Expand Down Expand Up @@ -432,9 +432,9 @@
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x47E840B35e0eca3E7C0577835DD78d95574873e7",
"implementation": "0xb0D90eEd481cCA3Ba68978762f5920567AC0eA6E",
"implementation": "0x571Ac97CeDDe864E15e03aeE82BB09e63459bCcD",
"deployer": "0x9D97cf3AC20b73c81d8A5233d9FBe09618d4F8bd",
"collector": "0x378b2d388b1665b63089553251C18aA8684e4245"
"collector": "0x40955d09718525559ec1bb8b37d7c211F14D2C3d"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
Expand Down

0 comments on commit 527fef7

Please sign in to comment.