From b4a68708c9a2e8098d1cac51d487b9d54661f66a Mon Sep 17 00:00:00 2001 From: Milap Sheth Date: Wed, 16 Oct 2024 03:12:32 -0400 Subject: [PATCH] fix!: update its hub chain name (#287) --- contracts/InterchainTokenService.sol | 2 +- test/constants.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/InterchainTokenService.sol b/contracts/InterchainTokenService.sol index af836ed7..fb0f6a6d 100644 --- a/contracts/InterchainTokenService.sol +++ b/contracts/InterchainTokenService.sol @@ -91,7 +91,7 @@ contract InterchainTokenService is * @dev Chain name where ITS Hub exists. This is used for routing ITS calls via ITS hub. * This is set as a constant, since the ITS Hub will exist on Axelar. */ - string internal constant ITS_HUB_CHAIN_NAME = 'axelarnet'; + string internal constant ITS_HUB_CHAIN_NAME = 'axelar'; bytes32 internal constant ITS_HUB_CHAIN_NAME_HASH = keccak256(abi.encodePacked(ITS_HUB_CHAIN_NAME)); /** diff --git a/test/constants.js b/test/constants.js index 9afa5c7e..b235d864 100644 --- a/test/constants.js +++ b/test/constants.js @@ -19,7 +19,7 @@ const OPERATOR_ROLE = 1; const FLOW_LIMITER_ROLE = 2; // Chain name for ITS Hub chain -const ITS_HUB_CHAIN_NAME = 'axelarnet'; +const ITS_HUB_CHAIN_NAME = 'axelar'; const ITS_HUB_ROUTING_IDENTIFIER = 'hub'; const ITS_HUB_ADDRESS = 'axelar1xyz';