Skip to content

fix: insufficient gas warning should be skipped when gasAmount#663

Merged
chybisov merged 2 commits intomainfrom
fix-insufficient-gas-warning
Mar 2, 2026
Merged

fix: insufficient gas warning should be skipped when gasAmount#663
chybisov merged 2 commits intomainfrom
fix-insufficient-gas-warning

Conversation

@melianessa
Copy link
Copy Markdown
Contributor

@melianessa melianessa commented Mar 2, 2026

Which Jira task is linked to this PR?

For Hyperliquid quotes, we return a gas amount of 0, but there is still a warning for insufficient gas. When gasAmount = 0, we should not check for a gas token balance.

Why was it implemented this way?

Explain the reasoning behind the implementation. Were there alternative approaches? Why was this solution chosen?

Visual showcase (Screenshots or Videos)

If applicable, attach screenshots, GIFs, or videos to showcase the functionality, UI changes, or bug fixes.

Checklist before requesting a review

  • I have performed a self-review and testing of my code.
  • This pull request is focused and addresses a single problem.
  • If this PR modifies the Widget API or adds new features that require documentation, I have updated the documentation in the public-docs repository.

@chybisov chybisov merged commit 91424ea into main Mar 2, 2026
2 checks passed
@chybisov chybisov deleted the fix-insufficient-gas-warning branch March 2, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants