Skip to content

Add inflation reward RPC support - #285

Open
NeerajGodiyal wants to merge 3 commits into
alpenglow-devfrom
koro/rpc-epoch-rewards
Open

NeerajGodiyal wants to merge 3 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.

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