Update note about changes to slash_validator.

This commit is contained in:
Adrian Sutton 2021-04-07 11:44:24 +10:00
parent 680e264fa9
commit 08f9f81c1f
No known key found for this signature in database
GPG Key ID: 50DB9092C29D7DC6
1 changed files with 2 additions and 1 deletions

View File

@ -391,7 +391,8 @@ def get_inactivity_penalty_deltas(state: BeaconState) -> Tuple[Sequence[Gwei], S
#### Modified `slash_validator`
*Note*: The function `slash_validator` is modified to use `MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR`.
*Note*: The function `slash_validator` is modified to use `MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR`
and use `PROPOSER_WEIGHT` when calculating the proposer reward.
```python
def slash_validator(state: BeaconState,