From a688f70d1fc0f851493f9ce58645a09805b4023c Mon Sep 17 00:00:00 2001 From: Matt Curtis Date: Thu, 14 Dec 2023 11:25:14 +0000 Subject: [PATCH] Hardcode gaslimit to work around bug --- .../testnet/recoverfunds/001_recover_funds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/deployment_scripts/testnet/recoverfunds/001_recover_funds.ts b/contracts/deployment_scripts/testnet/recoverfunds/001_recover_funds.ts index 91195a52e5..ebbc43cb06 100644 --- a/contracts/deployment_scripts/testnet/recoverfunds/001_recover_funds.ts +++ b/contracts/deployment_scripts/testnet/recoverfunds/001_recover_funds.ts @@ -10,7 +10,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const addressToPay = process.env.ACC_TO_PAY!! const mgmtContract = (await hre.ethers.getContractFactory('ManagementContract')).attach(mgmtContractAddress) - const tx = await mgmtContract.RetrieveAllBridgeFunds(); + const tx = await mgmtContract.RetrieveAllBridgeFunds({gasLimit:200000}); const receipt = await tx.wait(); // Check the receipt for success, logs, etc.