Commit 1825982a authored by Maurelian's avatar Maurelian

test(sdk): bump gas limit up to fix failed message

parent 74839fb8
...@@ -340,8 +340,12 @@ task('deposit-erc20', 'Deposits WETH9 onto L2.') ...@@ -340,8 +340,12 @@ task('deposit-erc20', 'Deposits WETH9 onto L2.')
) )
console.log('Finalizing withdrawal...') console.log('Finalizing withdrawal...')
const finalize = await messenger.finalizeMessage(withdraw) // TODO: Update SDK to properly estimate gas
const finalize = await messenger.finalizeMessage(withdraw, {
overrides: { gasLimit: 500_000 },
})
const finalizeReceipt = await finalize.wait() const finalizeReceipt = await finalize.wait()
console.log('finalizeReceipt:', finalizeReceipt)
console.log(`Took ${Math.floor(Date.now() / 1000) - now} seconds`) console.log(`Took ${Math.floor(Date.now() / 1000) - now} seconds`)
for (const log of finalizeReceipt.logs) { for (const log of finalizeReceipt.logs) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment