prysm-pulse/beacon-chain/state/v2/spec_parameters.go

12 lines
352 B
Go
Raw Normal View History

package v2
import "github.com/prysmaticlabs/prysm/config/params"
func (b *BeaconState) ProportionalSlashingMultiplier() (uint64, error) {
return params.BeaconConfig().ProportionalSlashingMultiplierAltair, nil
}
func (b *BeaconState) InactivityPenaltyQuotient() (uint64, error) {
return params.BeaconConfig().InactivityPenaltyQuotientAltair, nil
}