-
Notifications
You must be signed in to change notification settings - Fork 998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Altair review #2374
Altair review #2374
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
i left a comment about "increment based" accounting bc i think there is a more appropriate term but doesn't really block this PR
@@ -311,10 +320,17 @@ def get_base_reward_per_increment(state: BeaconState) -> Gwei: | |||
|
|||
#### `get_base_reward` | |||
|
|||
*Note*: The function `get_base_reward` is modified with the removal of `BASE_REWARDS_PER_EPOCH`. | |||
*Note*: The function `get_base_reward` is modified with the removal of `BASE_REWARDS_PER_EPOCH` and the use of increment based accounting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tbh i'm not really sure what "increment based" means but i don't think it blocks this PR
is_{attestation_field}
as having to have the parentis_{attestation_field}
correct, thus enforcing chain coherence any time those booleans are used