Skip to content

Commit

Permalink
Merge branch 'main' into feat/sui-operators
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Aug 1, 2024
2 parents 807957c + cd3c913 commit 8b0b7e9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion common/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@ const {
const { normalizeBech32 } = require('@cosmjs/encoding');

function loadConfig(env) {
return require(`${__dirname}/../axelar-chains-config/info/${env}.json`);
const config = require(`${__dirname}/../axelar-chains-config/info/${env}.json`);

if (!config.sui) {
config.sui = {
networkType: env === 'local' ? 'localnet' : env,
name: 'Sui',
contracts: {
AxelarGateway: {},
},
};
}

return config;
}

function saveConfig(config, env) {
Expand Down

0 comments on commit 8b0b7e9

Please sign in to comment.