Skip to content

Add inflation reward RPC support - #285

Merged
smcio merged 10 commits into
alpenglow-devfrom
koro/rpc-epoch-rewards
Oct 18, 2026
Merged

smcio merged 10 commits into
alpenglow-devfrom
koro/rpc-epoch-rewards

Conversation

@NeerajGodiyal

@NeerajGodiyal NeerajGodiyal commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add getInflationReward by recording voting and staking rewards as blocks are finalized. Reward data remains available across epoch changes and restarts.

Testing

  • Focused Go tests and go vet passed.
  • Verified a nonzero voting reward on Alpenglow and a nonzero staking reward in a separate Alpenglow test.
  • Tested reward lookup after an epoch change and restart.

@smcio smcio left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for all the fixes!

@smcio
smcio merged commit c4bd359 into alpenglow-dev Oct 18, 2026
2 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.

2 participants