Fix: show rewards as claimable on the V5 rollup - #112
Merged
koenmtb1 merged 1 commit intoJul 28, 2026
Conversation
The staking dashboard checked a rollup function (isRewardsClaimable) to decide whether to allow reward claims. The V5 rollup no longer has that function, so the check failed and the dashboard treated rewards as locked even though they could be claimed. Self-stake rewards showed "Locked on this rollup" and operators saw a "rewards are currently locked" banner. Now the dashboard only treats rewards as locked when a rollup explicitly reports them as locked. If the check is unavailable (as on V5), rewards are shown as claimable. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
y3v63n
force-pushed
the
fix/rewards-claimable-gate-fail-open
branch
from
July 28, 2026 10:52
563c42a to
4591996
Compare
koenmtb1
approved these changes
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this fixes
Operators with rewards on the current (V5) rollup couldn't claim them from the dashboard. Self-stake rewards showed "Locked on this rollup", and the Operator page showed a "Rewards are currently locked on the network" banner — even though the rewards were real and could actually be claimed.
Fixes #111.
Why it happened
To decide whether to allow a claim, the dashboard called a function on the rollup contract (
isRewardsClaimable) that used to signal a network-wide reward lock. The V5 rollup no longer has this function, so the call failed. The dashboard treated that failure as "locked" and disabled claiming.The change
The dashboard now treats rewards as locked only when a rollup explicitly reports them as locked. When the check isn't available (as on V5), rewards are shown as claimable — which matches what the contract actually allows.
This affects the reward-lock state everywhere it's used: the self-stake claim modal, the coinbase/rewards address list, the Operator page banner, and the related claim buttons and notices.
Testing