From 8d45fed50ee1955e04949ef68866b76ed3d16dee Mon Sep 17 00:00:00 2001 From: Jack Hamer Date: Wed, 10 Jul 2024 13:46:08 +0300 Subject: [PATCH] fix: add approve base erc20 --- 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, });