From 7000600c266b6861608a67614f6ac96a31d086ea Mon Sep 17 00:00:00 2001 From: David Adegoke <64401859+Blazebrain@users.noreply.github.com> Date: Fri, 20 Feb 2026 15:38:17 +0100 Subject: [PATCH] fix: Add additional fees validation for native transaction (#2933) --- cw_evm/lib/evm_chain_wallet.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cw_evm/lib/evm_chain_wallet.dart b/cw_evm/lib/evm_chain_wallet.dart index ea1312e23..f60cd64e9 100644 --- a/cw_evm/lib/evm_chain_wallet.dart +++ b/cw_evm/lib/evm_chain_wallet.dart @@ -1004,6 +1004,10 @@ abstract class EVMChainWalletBase if (currencyBalance.balance < totalAmount) { throw EVMChainTransactionCreationException(transactionCurrency); } + if (transactionCurrency is! Erc20Token && + totalAmount + estimatedFeesForTransaction > currencyBalance.balance) { + throw EVMChainTransactionFeesException.fromCurrency(currency.title); + } } if (transactionCurrency is Erc20Token &&