From 417bd0172575907d5e7ed3b79df36bc7cc9023cf Mon Sep 17 00:00:00 2001 From: fisher Date: Wed, 11 Dec 2024 23:23:01 +0800 Subject: [PATCH 1/3] test with gas limit change --- src/components/withdraw-modal.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/withdraw-modal.tsx b/src/components/withdraw-modal.tsx index eb459f9..3fb863f 100644 --- a/src/components/withdraw-modal.tsx +++ b/src/components/withdraw-modal.tsx @@ -52,6 +52,9 @@ export default function WithdrawModal({ abi: contractAbi, functionName: "claim", args: [], + overrides: { + gasLimit: 1000000, // Specify the gas limit (adjust as needed) + }, })); const receipt = await waitForTransaction({ hash }); From 7671d9efd94d8530e0bb399e5c088d615017a4fd Mon Sep 17 00:00:00 2001 From: fisher Date: Wed, 11 Dec 2024 23:28:28 +0800 Subject: [PATCH 2/3] fix --- src/components/withdraw-modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/withdraw-modal.tsx b/src/components/withdraw-modal.tsx index 3fb863f..8017505 100644 --- a/src/components/withdraw-modal.tsx +++ b/src/components/withdraw-modal.tsx @@ -52,7 +52,7 @@ export default function WithdrawModal({ abi: contractAbi, functionName: "claim", args: [], - overrides: { + request: { gasLimit: 1000000, // Specify the gas limit (adjust as needed) }, })); From b8f7f3b5fc0a1780b8c0bf84cc0e33338c976b11 Mon Sep 17 00:00:00 2001 From: fisher Date: Wed, 11 Dec 2024 23:36:37 +0800 Subject: [PATCH 3/3] test --- src/components/withdraw-modal.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/withdraw-modal.tsx b/src/components/withdraw-modal.tsx index 8017505..eb459f9 100644 --- a/src/components/withdraw-modal.tsx +++ b/src/components/withdraw-modal.tsx @@ -52,9 +52,6 @@ export default function WithdrawModal({ abi: contractAbi, functionName: "claim", args: [], - request: { - gasLimit: 1000000, // Specify the gas limit (adjust as needed) - }, })); const receipt = await waitForTransaction({ hash });