Skip to content

feat: add t22 option#89

Merged
GabrielePicco merged 1 commit into
mainfrom
feat/add-t22-option
May 29, 2026
Merged

feat: add t22 option#89
GabrielePicco merged 1 commit into
mainfrom
feat/add-t22-option

Conversation

@GabrielePicco
Copy link
Copy Markdown
Contributor

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
counter-session-keys Error Error May 29, 2026 12:09pm
er-rolldice Ready Ready Preview, Comment May 29, 2026 12:09pm
magicblock-counter-example Error Error May 29, 2026 12:09pm
magicblock-engine-examples Error Error May 29, 2026 12:09pm
magicblock-rewards-dashboard Ready Ready Preview, Comment May 29, 2026 12:09pm
spl-tokens Ready Ready Preview, Comment May 29, 2026 12:09pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 2026

Warning

Review limit reached

@GabrielePicco, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 53 minutes and 51 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c6f9d846-5283-45c1-ba9c-4aaf719af476

📥 Commits

Reviewing files that changed from the base of the PR and between 911a77f and 594d21b.

📒 Files selected for processing (2)
  • spl-tokens/app/src/App.tsx
  • spl-tokens/app/src/components/Wizard.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/add-t22-option

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 594d21b965

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +594 to +596
if (!cancelled && !tokenProgram.equals(selectedTokenProgram)) {
setActiveUseToken2022(tokenProgram.equals(TOKEN_2022_PROGRAM_ID));
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Refresh balances after detecting Token-2022 mints

When a configured or otherwise pre-existing Token-2022 mint is loaded while activeUseToken2022 starts false, this branch flips the active program only after the initial mint-based balance refresh has already derived Tokenkeg ATAs. The refresh effect below is still keyed only by [connection, mint], so changing the token program does not re-run refreshBalances; the UI can keep showing zero/wrong balances and stale subscriptions until another manual refresh-causing action occurs. Trigger a balance refresh when the detected owner changes, or include the token program in the refresh effect/subscription dependencies.

Useful? React with 👍 / 👎.

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.

1 participant