From 4b3a92bd725ca1fef58fbe89dc9adfee1cdd1d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Sousa?= Date: Mon, 19 Aug 2024 21:23:20 +0100 Subject: [PATCH] remove params field from Rewards contract instantiation --- 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 } }) => {