You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(rpc): return rewards as part of validators RPC response (#15617)
Adds `validator_reward_paid_prev_epoch` to the `validators` RPC
response, a per-account map of rewards earned two epochs ago and
delivered at the start of the previous epoch.
test-loop verifies the RPC output against `ValidatorAccountsUpdate`
state changes at the epoch boundary.
This allows users to figure out the validator rewards for each epoch via
a single RPC call instead of having to do a diff between the balance of
previous block and state changes of the epoch's first block.
"description": "Per-validator rewards paid out at the start of the previous epoch.\nFor epoch E, this contains the rewards earned in epoch E-2 that were\nadded to validator and treasury balances at the first block of epoch\nE-1 (via `ValidatorAccountsUpdate`).",
"description": "Per-validator rewards paid out at the start of the previous epoch.\nFor epoch E, this contains the rewards earned in epoch E-2 that were\nadded to validator and treasury balances at the first block of epoch\nE-1 (via `ValidatorAccountsUpdate`).",
0 commit comments