diff --git a/types/msgservice/validate.go b/types/msgservice/validate.go index 49a183eb89..64f4ffd87a 100644 --- a/types/msgservice/validate.go +++ b/types/msgservice/validate.go @@ -12,7 +12,7 @@ import ( "cosmossdk.io/x/tx/signing" ) -// ValidateAnnotations validates that the proto annotations are correct. +// ValidateProtoAnnotations validates that the proto annotations are correct. // More specifically, it verifies: // - all services named "Msg" have `(cosmos.msg.v1.service) = true`, // diff --git a/types/tx/direct_aux.go b/types/tx/direct_aux.go index de6346fbf0..52c9fc214a 100644 --- a/types/tx/direct_aux.go +++ b/types/tx/direct_aux.go @@ -42,7 +42,7 @@ func (a *AuxSignerData) ValidateBasic() error { return a.GetSignDoc().ValidateBasic() } -// GetSignaturesV2 gets the SignatureV2 of the aux signer. +// GetSignatureV2 gets the SignatureV2 of the aux signer. func (a *AuxSignerData) GetSignatureV2() (signing.SignatureV2, error) { pk, ok := a.SignDoc.PublicKey.GetCachedValue().(cryptotypes.PubKey) if !ok { diff --git a/x/auth/keeper/migrations.go b/x/auth/keeper/migrations.go index 797583c31a..e3e563a9f2 100644 --- a/x/auth/keeper/migrations.go +++ b/x/auth/keeper/migrations.go @@ -45,7 +45,7 @@ func (m Migrator) Migrate4To5(ctx context.Context) error { return v5.Migrate(ctx, m.keeper.KVStoreService, m.keeper.AccountNumber) } -// V45_SetAccount implements V45_SetAccount +// V45SetAccount implements V45_SetAccount // set the account without map to accAddr to accNumber. // // NOTE: This is used for testing purposes only.