From ba1aa1991b07a27c8a050f993d54991cd3763970 Mon Sep 17 00:00:00 2001 From: Jack Hamer <47187316+JackHamer09@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:57:36 +0300 Subject: [PATCH] fix: approve base erc20 (#182) --- composables/zksync/deposit/useTransaction.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/composables/zksync/deposit/useTransaction.ts b/composables/zksync/deposit/useTransaction.ts index 1b8811878..eba7e9131 100644 --- a/composables/zksync/deposit/useTransaction.ts +++ b/composables/zksync/deposit/useTransaction.ts @@ -44,6 +44,7 @@ export default (getL1Signer: () => Promise) => { token: transaction.tokenAddress, amount: transaction.amount, l2GasLimit: fee.l2GasLimit, + approveBaseERC20: true, overrides, });