Skip to content

Commit

Permalink
feat(evm)!: support its v2 deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Aug 7, 2024
1 parent 218b366 commit 321e6d8
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 32 deletions.
19 changes: 18 additions & 1 deletion evm/deploy-its.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,23 @@ async function deployAll(config, wallet, chain, options) {
deployMethod,
wallet,
getContractJSON('TokenHandler', artifactPath),
[],
[contracts.AxelarGateway.address],
deployOptions,
gasOptions,
verifyOptions,
chain,
);
},
},
gatewayCaller: {
name: 'Gateway Caller',
contractName: 'GatewayCaller',
async deploy() {
return await deployContract(
deployMethod,
wallet,
getContractJSON('GatewayCaller', artifactPath),
[contracts.AxelarGateway.address, contracts.AxelarGasService.address],
deployOptions,
gasOptions,
verifyOptions,
Expand All @@ -227,6 +243,7 @@ async function deployAll(config, wallet, chain, options) {
chain.axelarId,
contractConfig.tokenManager,
contractConfig.tokenHandler,
contractConfig.gatewayCaller,
];

printInfo('ITS Implementation args', args);
Expand Down
62 changes: 32 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@axelar-network/axelar-cgp-solidity": "6.3.1",
"@axelar-network/axelar-cgp-sui": "0.3.0",
"@axelar-network/axelar-gmp-sdk-solidity": "5.10.0",
"@axelar-network/interchain-token-service": "1.2.4",
"@axelar-network/interchain-token-service": "file:../interchain-token-service",
"@cosmjs/cosmwasm-stargate": "^0.32.1",
"@ledgerhq/hw-app-eth": "6.32.2",
"@mysten/sui": "^1.3.0",
Expand Down

0 comments on commit 321e6d8

Please sign in to comment.