Skip to content

Refine Solana input rent messaging#6327

Open
SeniorZhai wants to merge 1 commit intomasterfrom
fix/solana-transfer-validation
Open

Refine Solana input rent messaging#6327
SeniorZhai wants to merge 1 commit intomasterfrom
fix/solana-transfer-validation

Conversation

@SeniorZhai
Copy link
Copy Markdown
Member

No description provided.

@SeniorZhai SeniorZhai requested a review from Copilot April 22, 2026 11:49
@SeniorZhai SeniorZhai added the testing Now testing, but you can review label Apr 22, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Refines Solana rent-exemption messaging/validation in the wallet amount input flow by scoping the “rent issue” UI behavior to Web3 Solana transfers and centralizing the checks in small helper methods.

Changes:

  • Added isCurrentWeb3SolanaTransfer() and hasCurrentSolanaRentIssue() helpers to clarify intent and avoid repeating conditions.
  • Scoped the “below Solana minimum / rent” validation branch in updateUI() and updateAddText() to Web3 Solana transfers only.
  • Adjusted the minimum-amount hint calculation so non-Web3 contexts consistently use SOLANA_RENT_EXEMPTION.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SeniorZhai SeniorZhai force-pushed the fix/solana-transfer-validation branch from 5ab6d86 to 874786f Compare April 22, 2026 12:08
@SeniorZhai SeniorZhai marked this pull request as ready for review April 22, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Now testing, but you can review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants