Skip to content

fix: mf-6820 hide robinhood chain from red packet - #12474

Merged
Jack-Works merged 1 commit into
developfrom
fix/mf-6820-hide-robinhood
Sep 9, 2026
Merged

fix: mf-6820 hide robinhood chain from red packet#12474
Jack-Works merged 1 commit into
developfrom
fix/mf-6820-hide-robinhood

Conversation

@swkatmask

Copy link
Copy Markdown
Contributor

Summary

  • MF-6820: the create-red-packet token picker listed the Robinhood chain (4663), but red packets there cannot be claimed yet (the backend does not support claiming on Robinhood), so creating one is blocked until that lands.
  • Hide the Robinhood chain from the red packet token pickers instead:
    • constants.ts: new RED_PACKET_UNSUPPORTED_CHAINS = [ChainId.Robinhood]
    • new useRedPacketSupportedChains() hook: useNetworks minus the unsupported chains
    • pass chains to SelectFungibleTokenModal in the create form (CreateTokenRedPacket.tsx) and the claim-conditions token picker (ConditionSettings.tsx)

Follow-up: once claiming is supported on Robinhood, remove ChainId.Robinhood from RED_PACKET_UNSUPPORTED_CHAINS and register the V4 contract (see #12473, currently draft, which does exactly that).

Verification

  • pnpm build + pnpm lint pass.
  • Runtime (dev extension on x.com): opened the Lucky Drop token picker — the network rail no longer shows the Robinhood icon (19 → 18 entries), and no Robinhood feather logo is present; all other chains unchanged.

Notes

  • If the wallet is already switched to Robinhood globally, the dialog still opens on it (the picker keeps showing the current chain's native token) — users just can no longer switch to Robinhood from the red packet pickers. Auto-forcing a chain switch was avoided since it would prompt an unwanted wallet_switchEthereumChain in the connected wallet.

@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
book Skipped Skipped Sep 9, 2026 12:51pm UTC

Request Review

@Jack-Works
Jack-Works added this pull request to the merge queue Sep 9, 2026
Merged via the queue into develop with commit ecc96a0 Sep 9, 2026
11 checks passed
@Jack-Works
Jack-Works deleted the fix/mf-6820-hide-robinhood branch September 9, 2026 18:12
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