From 9876ff5f47997053e1bc5e05bdee1a345ac89272 Mon Sep 17 00:00:00 2001 From: Milap Sheth Date: Mon, 23 Sep 2024 20:41:35 -0400 Subject: [PATCH] fix!: use lower case ITS hub chain name --- 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 b997e98e..b8083ab6 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 = 'axelarnet'; 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 8b9b2826..9afa5c7e 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 = 'axelarnet'; const ITS_HUB_ROUTING_IDENTIFIER = 'hub'; const ITS_HUB_ADDRESS = 'axelar1xyz';