Merge pull request #2313 from ajsutton/update-slash-validator-note
Update note about changes to slash_validator
This commit is contained in:
commit
300832f81a
|
@ -391,7 +391,8 @@ def get_inactivity_penalty_deltas(state: BeaconState) -> Tuple[Sequence[Gwei], S
|
||||||
|
|
||||||
#### Modified `slash_validator`
|
#### 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
|
```python
|
||||||
def slash_validator(state: BeaconState,
|
def slash_validator(state: BeaconState,
|
||||||
|
|
Loading…
Reference in New Issue