prysmaticlabs / prysm

Documentation of an exported function should start with the function’s name GO-D5001
Documentation
Minor
2 occurrences in this check
comment on exported method ExitEpochAndUpdateChurn should be of the form "ExitEpochAndUpdateChurn ..."
126	return hasETH1WithdrawalCredential(val) && hasExcessBalance && hasMaxBalance
127}
128
129// TODO: This goes in exits file?130// ExitEpochAndUpdateChurn
131//
132// Spec definition:
comment on exported method PendingPartialWithdrawals should be of the form "PendingPartialWithdrawals ..."
438	return sum, nil
439}
440
441// TODO: consider if this way of implementing getter is correct442func (b *BeaconState) PendingPartialWithdrawals() ([]*ethpb.PartialWithdrawal, error) {
443	if b.version < version.Electra {
444		return nil, errNotSupported("PendingPartialWithdrawals", b.version)