From 4ce197e21e284554b55995b27712694b3410c3a4 Mon Sep 17 00:00:00 2001 From: Jan Date: Fri, 20 Oct 2023 13:08:04 +0200 Subject: [PATCH] up the gas estimate on zap transactions --- src/views/issuance/components/zap/state/ui-atoms.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/issuance/components/zap/state/ui-atoms.ts b/src/views/issuance/components/zap/state/ui-atoms.ts index ade5f48c0..9b9e60dd4 100644 --- a/src/views/issuance/components/zap/state/ui-atoms.ts +++ b/src/views/issuance/components/zap/state/ui-atoms.ts @@ -540,6 +540,8 @@ const signAndSendTx: ZapperAction = async ( }) ).toBigInt() as bigint + limit = limit + limit / 10n + limit = tx.gasEstimate < limit ? tx.gasEstimate : limit const resp = await signer.sendTransaction({