Skip to content

Commit

Permalink
remove gas limit from call
Browse files Browse the repository at this point in the history
  • Loading branch information
otherview committed Aug 28, 2023
1 parent f844f25 commit 94ecaa1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
await new Promise(async (resolve, fail)=> {
setTimeout(fail, 30_000)
const messageBusContract = (await hre.ethers.getContractAt('MessageBus', '0x526c84529b2b8c11f57d93d3f5537aca3aecef9b'));
while (await messageBusContract.callStatic.verifyMessageFinalized(messages[1], {
gasLimit: 1_000_000,
}) != true) {
while (await messageBusContract.callStatic.verifyMessageFinalized(messages[1]) != true) {
console.log(`Messages not stored on L2 yet, retrying...`);
sleep(1_000);
}
Expand Down

0 comments on commit 94ecaa1

Please sign in to comment.