prysm-pulse/beacon-chain/state/v3/spec_parameters.go
Raul Jordan 39893bbe30
Encapsulate Fork-Specific Parameters Under BeaconState Interface (#10706)
* 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>
2022-05-20 15:30:30 +00:00

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
}