Skip to content

Commit

Permalink
chore(evm): transfer ownership of testnet operators (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth authored Jul 24, 2024
1 parent 812f5ae commit 26810f1
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 27 deletions.
38 changes: 19 additions & 19 deletions axelar-chains-config/info/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"salt": "Multisig v5.5"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -191,7 +191,7 @@
"salt": "InterchainProposalSender v1.2"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -307,7 +307,7 @@
"salt": "InterchainProposalSender v1.2"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -404,7 +404,7 @@
"salt": "InterchainProposalSender v1.2"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -520,7 +520,7 @@
"salt": "InterchainProposalSender v1.2"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -658,7 +658,7 @@
"salt": "InterchainProposalSender v1.2"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -753,7 +753,7 @@
"salt": "InterchainProposalSender v1.2"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -861,7 +861,7 @@
"salt": "InterchainProposalSender v1.2"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -962,7 +962,7 @@
"address": "0x98B2920D53612483F91F12Ed7754E51b4A77919e"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -1102,7 +1102,7 @@
"salt": "Multisig v5.5"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -1212,7 +1212,7 @@
"salt": "Multisig v5.5"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -1321,7 +1321,7 @@
"salt": "Multisig v5.5"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -1425,7 +1425,7 @@
"deployer": "0x5b593E7b1725dc6FcbbFe80b2415B19153F94A85"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -1537,7 +1537,7 @@
"salt": "Multisig v5.5"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -1650,7 +1650,7 @@
"salt": "Multisig v5.5"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -1763,7 +1763,7 @@
"salt": "Multisig v5.5"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -1873,7 +1873,7 @@
"salt": "AxelarGateway v6.2"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -1973,7 +1973,7 @@
"salt": "Multisig v5.5"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down Expand Up @@ -2081,7 +2081,7 @@
"salt": "Multisig v5.5"
},
"Operators": {
"owner": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"owner": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05",
"address": "0x7F83F5cA2AE4206AbFf8a3C3668e88ce5F11C0B5",
"deployer": "0xB8Cd93C83A974649D76B1c19f311f639e62272BC",
"deploymentMethod": "create2",
Expand Down
2 changes: 1 addition & 1 deletion evm/balances.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async function processCommand(_, chain, options) {
const provider = getDefaultProvider(chain.rpc);

const wallet = await getWallet(options.privateKey, provider);
await printWalletInfo(wallet, options);
await printWalletInfo(wallet, options, chain);
}

async function main(options) {
Expand Down
2 changes: 1 addition & 1 deletion evm/operators.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function processCommand(config, chain, options) {
}

const isOperator = await operatorsContract.isOperator(operatorAddress);
printInfo(`Is ${operatorAddress} an operator?`, `${isOperator}`);
printInfo(`Is ${operatorAddress} an operator on ${chain.name}?`, `${isOperator}`);

break;
}
Expand Down
4 changes: 0 additions & 4 deletions evm/send-tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ async function processCommand(_, chain, options) {
...gasOptions,
};

if (!offline && chain.name.toLowerCase() === 'binance') {
tx.gasPrice = (await provider.getGasPrice()) * 1.2;
}

const { baseTx, signedTx } = await signTransaction(wallet, chain, tx, options);

if (offline) {
Expand Down
4 changes: 2 additions & 2 deletions evm/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ function saveParallelExecutionConfig(config, env, chain) {
writeJSON(config, `${__dirname}/../chains-info/${env}-${chain}.json`);
}

async function printWalletInfo(wallet, options = {}) {
async function printWalletInfo(wallet, options = {}, chain = {}) {
let balance = 0;
const address = await wallet.getAddress();
printInfo('Wallet address', address);
Expand All @@ -718,7 +718,7 @@ async function printWalletInfo(wallet, options = {}) {
if (balance.isZero()) {
printError('Wallet balance', '0');
} else {
printInfo('Wallet balance', `${balance / 1e18}`);
printInfo('Wallet balance', `${balance / 1e18} ${chain.tokenSymbol || ''}`);
}

printInfo('Wallet nonce', (await wallet.provider.getTransactionCount(address)).toString());
Expand Down

0 comments on commit 26810f1

Please sign in to comment.