diff --git a/axelar-chains-config/info/devnet-amplifier.json b/axelar-chains-config/info/devnet-amplifier.json index 0236dc3f..ff4acded 100644 --- a/axelar-chains-config/info/devnet-amplifier.json +++ b/axelar-chains-config/info/devnet-amplifier.json @@ -739,6 +739,9 @@ "OwnerCap": "0x2dd1c932d894d5416d373474b58fe7f0d0bae2932220784657f3f7b2f95de4b3" }, "trustedAddresses": { + "axelar": [ + "axelar157hl7gpuknjmhtac2qnphuazv2yerfagva7lsu9vuj2pgn32z22qa26dk4" + ], "eth-sepolia": [ "hub" ], @@ -759,9 +762,6 @@ ], "core-optimism": [ "hub" - ], - "axelar": [ - "axelar157hl7gpuknjmhtac2qnphuazv2yerfagva7lsu9vuj2pgn32z22qa26dk4" ] } }, diff --git a/sui/its.js b/sui/its.js index 8741b429..864e46f5 100644 --- a/sui/its.js +++ b/sui/its.js @@ -32,9 +32,8 @@ async function setupTrustedAddress(keypair, client, contracts, args, options) { // Add trusted address to ITS config if (!contracts.ITS.trustedAddresses) contracts.ITS.trustedAddresses = {}; - if (!contracts.ITS.trustedAddresses[trustedChain]) contracts.ITS.trustedAddresses[trustedChain] = []; - contracts.ITS.trustedAddresses[trustedChain].push(trustedAddress); + contracts.ITS.trustedAddresses[trustedChain] = trustedAddress; } }