Skip to content

Commit

Permalink
docs: update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Dec 5, 2024
1 parent 19fc483 commit 9109c78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/ccv/consumer/keeper/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (k Keeper) IterateValidators(context.Context, func(index int64, validator s
return nil
}

// Validator - unimplemented on CCV keeper
// Validator - unimplemented on CCV keeper but implemented on standalone keeper
func (k Keeper) Validator(sdkCtx context.Context, addr sdk.ValAddress) (stakingtypes.ValidatorI, error) {
ctx := sdk.UnwrapSDKContext(sdkCtx)
if k.IsPrevStandaloneChain(ctx) && k.ChangeoverIsComplete(ctx) && k.standaloneStakingKeeper != nil {
Expand Down Expand Up @@ -190,7 +190,7 @@ func (k Keeper) Unjail(sdkCtx context.Context, addr sdk.ConsAddress) error {
return nil
}

// Delegation - unimplemented on CCV keeper
// Delegation - unimplemented on CCV keeper but implemented on standalone keeper
func (k Keeper) Delegation(sdkCtx context.Context, addr sdk.AccAddress, valAddr sdk.ValAddress) (stakingtypes.DelegationI, error) {
ctx := sdk.UnwrapSDKContext(sdkCtx)
if k.IsPrevStandaloneChain(ctx) && k.ChangeoverIsComplete(ctx) && k.standaloneStakingKeeper != nil {
Expand Down

0 comments on commit 9109c78

Please sign in to comment.