Skip to content

Commit

Permalink
Hardcode gaslimit to work around bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Dec 14, 2023
1 parent 7c2a4df commit a688f70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a688f70

Please sign in to comment.