-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consensus block value calculation for produceBlockV3 API call. (#5873)
* allow specifying get_proposer_reward block root at state.slot * Add consensus_block_value calculation. * Address review comments. * Post-rebase adjustments. * Use proper state to calculate consensus block value. * Revert "allow specifying get_proposer_reward block root at state.slot" This reverts commit 9fef9a8. * Fix post-revert problems. Return back to Gwei. * Adding test which is not working. * Do not use test suite if it does not have post-state. * Add debug logging. * Increase logging to track sources of balance changes. * Fix sync committee rewards/penalties calculation. * Revert "Increase logging to track sources of balance changes." This reverts commit 32feb20. * Adopt new vision to block rewards. * Add block produce logging to VC. * Remove rewards.nim. * Eliminate toWei changes. * Improve UInt256 shortLog. * Fix conversion procedure. * Address review comments. * Fix test. * Revert "Fix test." This reverts commit 4948b2c. --------- Co-authored-by: tersec <tersec@users.noreply.github.com> Co-authored-by: Etan Kissling <etan@status.im>
- Loading branch information
1 parent
2d519ac
commit f088e5f
Showing
4 changed files
with
125 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters