Skip to content

Commit

Permalink
fix: fix its checks (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth authored Dec 19, 2023
1 parent a134add commit 065702a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evm/its.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { ethers } = require('hardhat');
const {
getDefaultProvider,
utils: { hexZeroPad, keccak256 },
utils: { hexZeroPad, toUtf8Bytes, keccak256 },
BigNumber,
constants: { AddressZero },
Contract,
Expand Down Expand Up @@ -571,7 +571,7 @@ async function processCommand(config, chain, options) {
const configGasService = chain.contracts.AxelarGasService?.address;

const chainNameHash = await interchainTokenService.chainNameHash();
const configChainNameHash = keccak256(chain.id);
const configChainNameHash = keccak256(toUtf8Bytes(chain.id));

compare(gateway, configGateway, 'AxelarGateway');
compare(gasService, configGasService, 'AxelarGasService');
Expand Down

0 comments on commit 065702a

Please sign in to comment.