Skip to content

Commit

Permalink
Merge branch 'main' into feat/add-remove-trusted-address
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Dec 9, 2024
2 parents ea10041 + 0af4e61 commit 88ea3c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions axelar-chains-config/info/devnet-amplifier.json
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,9 @@
"OwnerCap": "0x2dd1c932d894d5416d373474b58fe7f0d0bae2932220784657f3f7b2f95de4b3"
},
"trustedAddresses": {
"axelar": [
"axelar157hl7gpuknjmhtac2qnphuazv2yerfagva7lsu9vuj2pgn32z22qa26dk4"
],
"eth-sepolia": [
"hub"
],
Expand All @@ -759,9 +762,6 @@
],
"core-optimism": [
"hub"
],
"axelar": [
"axelar157hl7gpuknjmhtac2qnphuazv2yerfagva7lsu9vuj2pgn32z22qa26dk4"
]
}
},
Expand Down
3 changes: 1 addition & 2 deletions sui/its.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 88ea3c3

Please sign in to comment.