From 2e1ad027b1aa8c318832da5554ada273aa4a33c3 Mon Sep 17 00:00:00 2001 From: jcs47 <11947034+jcs47@users.noreply.github.com> Date: Mon, 19 Aug 2024 22:52:53 +0100 Subject: [PATCH] chore(cosmwasm): remove `params` field from Rewards contract instantiation (#340) --- cosmwasm/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cosmwasm/utils.js b/cosmwasm/utils.js index 41bfe995..7a897da6 100644 --- a/cosmwasm/utils.js +++ b/cosmwasm/utils.js @@ -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'); } @@ -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 } }) => {