From 15ce2ca2fa976466a2c976f43e166e26d5e312de Mon Sep 17 00:00:00 2001 From: "Miao, ZhiCheng" Date: Tue, 6 Feb 2024 19:06:00 +0200 Subject: [PATCH] fix gov.updateContracts --- .../ops-scripts/deploy-framework.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/ethereum-contracts/ops-scripts/deploy-framework.js b/packages/ethereum-contracts/ops-scripts/deploy-framework.js index 681557ffa8..a7b6382276 100644 --- a/packages/ethereum-contracts/ops-scripts/deploy-framework.js +++ b/packages/ethereum-contracts/ops-scripts/deploy-framework.js @@ -1383,14 +1383,13 @@ module.exports = eval(`(${S.toString()})({skipArgv: true})`)(async function ( await sendGovernanceAction( sfObjForGovAndResolver, - (gov) => - gov.updateContracts( - superfluid.address, - superfluidNewLogicAddress, - agreementsToUpdate, - superTokenFactoryNewLogicAddress, - superfluidPoolNewLogicAddress - ) + (gov) => gov["updateContracts(address,address,address[],address,address)"]( + superfluid.address, + superfluidNewLogicAddress, + agreementsToUpdate, + superTokenFactoryNewLogicAddress, + superfluidPoolNewLogicAddress + ) ); }