Skip to content

fix: include zero staking rewards in checks - #3847

Merged
mkoura merged 1 commit into
masterfrom
fix/staking-reward-zero-balance
Nov 12, 2026
Merged

mkoura merged 1 commit 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 16:31
@mkoura
mkoura merged commit 79597fd into master Nov 12, 2026
3 checks passed
@mkoura
mkoura deleted the fix/staking-reward-zero-balance branch November 12, 2026 17:07
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