Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate insufficient azero #302

Merged
merged 4 commits into from
Sep 17, 2024
Merged

Validate insufficient azero #302

merged 4 commits into from
Sep 17, 2024

Conversation

p6te
Copy link
Collaborator

@p6te p6te commented Sep 16, 2024

  • add validation for insufficient azero balance
  • increase fee limits
  • clear console logs

@@ -333,6 +339,10 @@ export const Swap: React.FC<ISwap> = ({
return 'Insufficient balance'
}

if (azeroBalance < SWAP_SAFE_TRANSACTION_FEE) {
return `Insufficient TZERO`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use AZERO naming

Copy link

This pull request has been deployed to Vercel.

Latest commit: e92ce0b
✅ Preview: https://webapp-azero-q2nal65su-invariantlabs.vercel.app
🔍 Inspect: https://vercel.com/invariantlabs/webapp-azero/52QdccYf45nWBvraFxk7BcNvM478

View Workflow Logs

@p6te p6te merged commit 132824c into dev Sep 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants