Skip to content

Conversation

sandtreader
Copy link
Collaborator

Add another layer of snapshot queue, fix margin calculations - now matches rewards paid in 213 except for SPO's own reward account, which we don't yet filter out.

Also use real parameter value for 'tau' now we can rely on it.

Also use real Tau parameter now
Reflects the fact that we process the rewards *after* having pushed the
snapshot
Matches Haskell output for pool 30c6319d1f, epoch 213

Added more NOTES
- calculated differently from SPO margin payout!
@sandtreader sandtreader requested a review from alexwoods August 27, 2025 10:22
@sandtreader sandtreader marked this pull request as ready for review August 27, 2025 10:22
sandtreader and others added 15 commits August 27, 2025 11:24
Now accept parameter change earlier so we have ShelleyParams
for epoch 208 - this triggers an additional monetary change,
which means we have the correct stake_rewards available when we
start epoch 212.

Removed 'latest' extra snapshot so we do it all one epoch earlier

Made stake_rewards Lovelace outside rewards.rs to keep it simpler

Removed fees from snapshot - no longer needed because we have them
for previous epoch to hand
Also unused remove SHELLEY_START_SLOT, tidy, pause at 213
Move to AccountState so we can filter against previous versions
and log only what we're interested in
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.

2 participants