From b1a9688b74bc6b51e3fdd92f0d7afad9a769a6c9 Mon Sep 17 00:00:00 2001 From: hthieu1110 Date: Thu, 3 Oct 2024 21:58:23 +0700 Subject: [PATCH] fix: gas estimation when update gno profile (#1292) --- packages/components/user/modals/EditProfileModal.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/components/user/modals/EditProfileModal.tsx b/packages/components/user/modals/EditProfileModal.tsx index 19c24d7a0..8c838d8bc 100644 --- a/packages/components/user/modals/EditProfileModal.tsx +++ b/packages/components/user/modals/EditProfileModal.tsx @@ -255,9 +255,7 @@ export const EditProfileModal: React.FC = ({ } // FIXME: how to estimate gasWanted ? - await adenaDoContract(network.id, msgs, { - gasWanted: 3_000_000, - }); + await adenaDoContract(network.id, msgs); onClose();