Skip to content

Conversation

@gomesalexandre
Copy link
Contributor

@gomesalexandre gomesalexandre commented Jan 27, 2026

Description

Removes WETH/FOX from the staking asset selection dropdown in the Stake modal since the Arbitrum WETH/FOX Rewards program has been sunset. Users can still unstake and claim existing positions.

Issue (if applicable)

closes #11779

Risk

Low - UI-only change that filters out a sunset staking option from selection.

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

None. This only affects the asset selection UI in the rFOX Stake modal.

Testing

Engineering

  1. Navigate to the Fox page
  2. Click "Stake" button on the FOX tab
  3. Click the asset dropdown in the Stake modal
  4. Verify WETH/FOX is NOT shown as a selectable asset (only FOX should appear)
  5. Verify unstake/claim still works on the WETH/FOX tab

Operations

  • 🏁 My feature is behind a flag and doesn't require operations testing (yet)

Screenshots (if applicable)

  • Stake
Screenshot 2026-01-26 at 14 48 39
  • Unstake
Screenshot 2026-01-26 at 14 48 47

Summary by CodeRabbit

  • Bug Fixes
    • Disabled WETH/FOX staking on Arbitrum. Users can still unstake and claim rewards via L1 and other supported assets.

✏️ Tip: You can customize this high-level summary in your review settings.

The Arbitrum WETH/FOX Rewards program has been sunset, so WETH/FOX should
no longer be selectable as a staking asset in the Stake modal. Users can
still unstake and claim their existing positions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gomesalexandre gomesalexandre requested a review from a team as a code owner January 27, 2026 00:51
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 27, 2026

Warning

Rate limit exceeded

@gomesalexandre has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 9 minutes and 56 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📝 Walkthrough

Walkthrough

Modified StakeInput component to exclude the Arbitrum WETH/FOX staking asset from the user-selectable list. The change filters out the specific asset ID and appends the L1 asset ID, preventing WETH/FOX selection while maintaining L1 staking availability.

Changes

Cohort / File(s) Summary
Staking Asset Filter
src/pages/RFOX/components/Stake/StakeInput.tsx
Imported uniV2EthFoxArbitrumAssetId and added logic to exclude it from stakingAssetIds list, then append l1AssetId. Disables WETH/FOX selection in staking modal.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • NeOMakinG
  • 0xApotheosis

Poem

🐰 A hop, skip, and filter array so keen,
Remove the ETH/FOX from the staking scene,
L1 assets hop in to take their place,
One simple fix, no greyed-out disgrace! 🦊

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the main change: removing WETH/FOX from the staking modal asset selection, which is the primary objective of this PR.
Linked Issues check ✅ Passed The code changes directly address the acceptance criteria of issue #11779 by filtering out uniV2EthFoxArbitrumAssetId from stakingAssetIds, ensuring only FOX is selectable for staking.
Out of Scope Changes check ✅ Passed All changes are focused and in-scope: the import and filtering logic directly implement the required removal of WETH/FOX from the stake modal asset selection, with no unrelated modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/remove-weth-fox-from-stake-modal

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
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@src/pages/RFOX/components/Stake/StakeInput.tsx`:
- Around line 96-102: The useMemo for computing stakingAssetIds references
supportedStakingAssetIds and uniV2EthFoxArbitrumAssetId but they are missing
from the dependency array; update the dependency array of the useMemo that
defines stakingAssetIds to include l1AssetId, supportedStakingAssetIds, and
uniV2EthFoxArbitrumAssetId so the memo correctly tracks all used values (keep
the logic that filters out uniV2EthFoxArbitrumAssetId and concatenates l1AssetId
unchanged).

gomesalexandre and others added 2 commits January 26, 2026 15:09
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kaladinlight kaladinlight enabled auto-merge (squash) January 27, 2026 22:38
@kaladinlight kaladinlight merged commit 9c7486a into develop Jan 28, 2026
4 checks passed
@kaladinlight kaladinlight deleted the fix/remove-weth-fox-from-stake-modal branch January 28, 2026 17:17
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.

Can select eth/fox to deposit in staking modal

3 participants