You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the deposits through the Ether portal, the validation for the amount exceeding the balance takes a long time as it is waiting for a prepare call to resume. Instead, retrieving the balance information from the wallet connected and adding this new validation as the user fills the form would be faster and more efficient.
✔️ Solution
Get the current ETH balance of the connected account and include it in the validation for the amount the user defines rather than wait for the return of the prepare checks.
wording: The amount ${amount} exceeds your current balance of ${balance} ETH
📈 Subtasks
Add the new validation for faster local validation in terms of an amount exceeding the balance.
Add test cases.
🎯 Definition of Done
As I try to add an amount bigger than my balance, I can quickly see the error message.
An invalid form will not allow the user to proceed with the deposit.
CI checks are passing.
Vercel preview builds are passing.
The text was updated successfully, but these errors were encountered:
📄 Context
When using the deposits through the Ether portal, the validation for the amount exceeding the balance takes a long time as it is waiting for a
prepare
call to resume. Instead, retrieving the balance information from the wallet connected and adding this new validation as the user fills the form would be faster and more efficient.✔️ Solution
Get the current ETH balance of the connected account and include it in the validation for the amount the user defines rather than wait for the return of the
prepare
checks.wording:
The amount ${amount} exceeds your current balance of ${balance} ETH
📈 Subtasks
🎯 Definition of Done
The text was updated successfully, but these errors were encountered: