Skip to content

Commit

Permalink
chore(cosmwasm): remove params field from Rewards contract instanti…
Browse files Browse the repository at this point in the history
…ation (#340)
  • Loading branch information
jcs47 authored Aug 19, 2024
1 parent ca64dd9 commit 2e1ad02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosmwasm/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const makeMultisigInstantiateMsg = ({ adminAddress, governanceAddress, blockExpi
};
};

const makeRewardsInstantiateMsg = ({ governanceAddress, rewardsDenom, params }) => {
const makeRewardsInstantiateMsg = ({ governanceAddress, rewardsDenom }) => {
if (!validateAddress(governanceAddress)) {
throw new Error('Missing or invalid Rewards.governanceAddress in axelar info');
}
Expand All @@ -182,7 +182,7 @@ const makeRewardsInstantiateMsg = ({ governanceAddress, rewardsDenom, params })
throw new Error('Missing or invalid Rewards.rewardsDenom in axelar info');
}

return { governance_address: governanceAddress, rewards_denom: rewardsDenom, params };
return { governance_address: governanceAddress, rewards_denom: rewardsDenom };
};

const makeRouterInstantiateMsg = ({ adminAddress, governanceAddress }, { NexusGateway: { address: nexusGateway } }) => {
Expand Down

0 comments on commit 2e1ad02

Please sign in to comment.