From 9109c7891b7b79dbf337faa7e70cb9d16a42dd4b Mon Sep 17 00:00:00 2001 From: MSalopek Date: Tue, 19 Nov 2024 11:23:45 +0100 Subject: [PATCH] docs: update docstrings --- x/ccv/consumer/keeper/validators.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/ccv/consumer/keeper/validators.go b/x/ccv/consumer/keeper/validators.go index 2f158d5ed2..8d50a96edd 100644 --- a/x/ccv/consumer/keeper/validators.go +++ b/x/ccv/consumer/keeper/validators.go @@ -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 { @@ -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 {