Eugene Kabanov
|
e3fcd8b031
|
REST: getBlockRewards() and getSyncCommitteeRewards() implementation (#6556)
* Initial commit.
* Use temporary state instead of clearance.
* Attempt to fix `finalized`.
* Fix `genesis` response.
* Pre-calculate genesis block rewards response.
* Add implementation for sync committee rewards.
* Add total active balance calculation.
* Add genesis special case.
* Fix negative reward values.
* Address review comments.
* Fix isGenesis implementation and add REST test rules for both calls.
|
2024-09-18 23:34:32 +00:00 |