Skip to content

Commit

Permalink
update worker set query to adjust to prover API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eguajardo committed Sep 19, 2023
1 parent 794d6aa commit 34f9ff6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions evm/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,7 @@ const getEVMAddresses = async (config, chain, options = {}) => {

const getAmplifierKeyAddresses = async (config, chain) => {
const client = await CosmWasmClient.connect(config.axelar.rpc);
const workerSet = await client.queryContractSmart(config.axelar.contracts.MultisigProver[chain].address, {
get_worker_set: {},
});
const workerSet = await client.queryContractSmart(config.axelar.contracts.MultisigProver[chain].address, 'get_worker_set');

const weightedAddresses = workerSet.signers.map((signer) => ({
address: computeAddress(`0x${signer.pub_key.ecdsa}`),
Expand Down

0 comments on commit 34f9ff6

Please sign in to comment.