Skip to content

Commit

Permalink
fix(e2e): use fixed gasLimit for redeem in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
  • Loading branch information
tmigone committed Oct 6, 2022
1 parent 24daed7 commit 6de2ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/commands/bridge/to-l2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const checkAndRedeemMessage = async (l1ToL2Message: L1ToL2MessageWriter) => {
logger.warn('Funds were deposited on L2 but the retryable ticket was not redeemed')
logAutoRedeemReason(autoRedeemRec)
logger.info('Attempting to redeem...')
await l1ToL2Message.redeem()
await l1ToL2Message.redeem(process.env.CI ? { gasLimit: 2_000_000 } : {})
const redeemAttempt = await l1ToL2Message.getSuccessfulRedeem()
if (redeemAttempt.status == L1ToL2MessageStatus.REDEEMED) {
l2TxHash = redeemAttempt.l2TxReceipt ? redeemAttempt.l2TxReceipt.transactionHash : 'null'
Expand Down

0 comments on commit 6de2ea9

Please sign in to comment.