Skip to content

Commit 1b478c9

Browse files
aljo242beer-1
authored andcommitted
chore: bump linter (cosmos#25537)
1 parent 17a9f9a commit 1b478c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+87
-79
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ benchmark:
379379
### Linting ###
380380
###############################################################################
381381

382-
golangci_version=v2.5.0
382+
golangci_version=v2.6.0
383383

384384
lint-install:
385385
@echo "--> Installing golangci-lint $(golangci_version)"

client/context.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ func (ctx Context) PrintProto(toPrint proto.Message) error {
348348

349349
// PrintObjectLegacy is a variant of PrintProto that doesn't require a proto.Message type
350350
// and uses amino JSON encoding.
351+
//
351352
// Deprecated: It will be removed in the near future!
352353
func (ctx Context) PrintObjectLegacy(toPrint any) error {
353354
out, err := ctx.LegacyAmino.MarshalJSON(toPrint)

client/keys/add_ledger_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build ledger || test_ledger_mock
2-
// +build ledger test_ledger_mock
32

43
package keys
54

codec/proto_codec.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323

2424
// ProtoCodecMarshaler defines an interface for codecs that utilize Protobuf for both
2525
// binary and JSON encoding.
26+
//
2627
// Deprecated: Use Codec instead.
2728
type ProtoCodecMarshaler interface {
2829
Codec

crypto/keyring/keyring_ledger_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build ledger || test_ledger_mock
2-
// +build ledger test_ledger_mock
32

43
package keyring
54

crypto/keyring/keyring_linux.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux
2-
// +build linux
32

43
package keyring
54

crypto/keyring/keyring_linux_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build linux
2-
// +build linux
32

43
package keyring
54

crypto/keyring/keyring_other.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux
2-
// +build !linux
32

43
package keyring
54

crypto/keys/secp256k1/secp256k1_cgo.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build libsecp256k1_sdk
2-
// +build libsecp256k1_sdk
32

43
package secp256k1
54

crypto/keys/secp256k1/secp256k1_cgo_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build libsecp256k1_sdk
2-
// +build libsecp256k1_sdk
32

43
package secp256k1
54

0 commit comments

Comments
 (0)