Skip to content

fix: include zero staking rewards in checks - #3848

Closed
mkoura wants to merge 2 commits into
masterfrom
fix/staking-reward-zero-balance
Closed

mkoura wants to merge 2 commits into
masterfrom
fix/staking-reward-zero-balance

Conversation

@mkoura

@mkoura mkoura commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

Record reward balances for explicit epochs, including zero, and save ledger snapshots even when no withdrawal is needed.

Compare the final reward with the initial withdrawal balance instead of the last two nonzero rewards. This avoids false failures when rewards reach zero after older stake snapshots leave the pipeline.

Update the test description and include epoch balances in failures. Validation: make lint and git diff --check passed; E2E not rerun.

Record reward balances for explicit epochs, including zero, and
save ledger snapshots even when no withdrawal is needed.

Compare the final reward with the initial withdrawal balance instead
of the last two nonzero rewards. This avoids false failures when
rewards reach zero after older stake snapshots leave the pipeline.

Update the test description and include epoch balances in failures.
Validation: make lint and git diff --check passed; E2E not rerun.
@mkoura
mkoura requested a review from saratomaz as a code owner November 12, 2026 17:09
@mkoura mkoura closed this Nov 12, 2026
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