mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
39893bbe30
* encapsulate beacon state specific spec parameters * edit build file * code review suggestion Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
12 lines
358 B
Go
12 lines
358 B
Go
package v3
|
|
|
|
import "github.com/prysmaticlabs/prysm/config/params"
|
|
|
|
func (b *BeaconState) ProportionalSlashingMultiplier() (uint64, error) {
|
|
return params.BeaconConfig().ProportionalSlashingMultiplierBellatrix, nil
|
|
}
|
|
|
|
func (b *BeaconState) InactivityPenaltyQuotient() (uint64, error) {
|
|
return params.BeaconConfig().InactivityPenaltyQuotientBellatrix, nil
|
|
}
|