[handoff] fix(staking): follow the CON-471 ValidatorStake.live -> hasUnclaimedRewards rename - #116
Draft
cgmello wants to merge 1 commit into
Draft
[handoff] fix(staking): follow the CON-471 ValidatorStake.live -> hasUnclaimedRewards rename#116cgmello wants to merge 1 commit into
cgmello wants to merge 1 commit into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…ewards rename genlayer-consensus renames `ValidatorStake.live` to `hasUnclaimedRewards` (the flag marks unclaimed inflation rewards, not node liveness). Update the three ValidatorStake tuple components in the staking ABI so named decoding exposes the new key. Depends-On: genlayerlabs/genlayer-consensus#1403 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KVkzRWuHBntyhom3xqHEAG
cgmello
force-pushed
the
con-471-rename-live-hasunclaimedrewards
branch
from
September 8, 2026 23:33
1ff94d2 to
29609f7
Compare
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.
Delivery context
Handoff from the consensus team. Requested owner: genlayer-py maintainers.
Problem and outcome
genlayer-consensus#1403 renames the
ValidatorStake.livetuple component tohasUnclaimedRewards(the flag marks unclaimed inflation rewards, not node liveness). The staking ABI shipped here still names the componentlive, so named decoding exposes the wrong key after the contracts upgrade.This PR renames the three
ValidatorStaketuple components ingenlayer_py/staking/abi/staking_abi.json. No Python code in this repo reads the field.Implementation and validation
🤖 Generated with Claude Code
https://claude.ai/code/session_01KVkzRWuHBntyhom3xqHEAG
Integration-cut relationship
The selected M2 landing cut, genlayerlabs/genlayer-consensus#1595, will include this consumer as a dependency. The rename is already in that owner composition. This PR has no reverse consensus dependency, avoiding two competing consensus refs in one resolved E2E closure. No final delivery is authorized by this metadata update.