Skip to content

Return reward accounts with no stake pool in rewardAccountSummaries - #39

Merged
palas merged 2 commits into
fix-30-conway-genesisfrom
fix-31-reward-accounts
Nov 20, 2026
Merged

palas merged 2 commits into
fix-30-conway-genesisfrom
fix-31-reward-accounts

Conversation

@palas

@palas palas commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Fixes #31.

Cherry-picks the commit of upstream PR CardanoSolutions#481, which is not merged upstream yet, and adds a changelog entry. The cherry-pick uses -X ignore-all-space, because this fork reformatted that code and only spaces differ.

There is no unit test: the merge it fixes is a local function.

@palas
palas added this pull request to stack #40 November 18, 2026 21:09
@palas palas self-assigned this Nov 18, 2026

@Jimbo4350 Jimbo4350 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The merge correctly retains registered accounts without pool delegation and preserves rewards for accounts delegated only to a DRep. I checked seven cases using the extracted merge logic in an isolated Haskell harness; all passed, and CI is green. No blocking findings.

As a follow-up, please add regression tests for accounts with no delegation and DRep-only accounts with nonzero rewards; the existing schema tests do not exercise this merge.

@palas
palas force-pushed the fix-31-reward-accounts branch from c0fd85e to 3d145f2 Compare November 19, 2026 15:09
@palas
palas force-pushed the fix-31-reward-accounts branch from 3d145f2 to 582664c Compare November 19, 2026 18:13
@palas
palas merged commit 54bb8c1 into master Nov 20, 2026
8 checks passed
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.

rewardAccountSummaries returns nothing for registered accounts with no stake pool

3 participants