From 0b55302b7c677a0297bf98d2a0cee8dce58fbbe0 Mon Sep 17 00:00:00 2001 From: marbar3778 Date: Thu, 21 Nov 2024 14:32:34 +0100 Subject: [PATCH] lint fix --- crypto/codec/amino.go | 3 ++- crypto/codec/pubkey.go | 3 ++- crypto/keys/jsonkey.go | 1 + crypto/keys/multisig/codec.go | 1 + tests/integration/type_check.go | 4 ++-- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/crypto/codec/amino.go b/crypto/codec/amino.go index 3d2ca28b0bcf..53af143161e3 100644 --- a/crypto/codec/amino.go +++ b/crypto/codec/amino.go @@ -1,9 +1,10 @@ package codec import ( + "github.com/cometbft/cometbft/crypto/bls12381" + "cosmossdk.io/core/registry" - "github.com/cometbft/cometbft/crypto/bls12381" bls12_381 "github.com/cosmos/cosmos-sdk/crypto/keys/bls12_381" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig" diff --git a/crypto/codec/pubkey.go b/crypto/codec/pubkey.go index 002c58741c06..f28d88df3857 100644 --- a/crypto/codec/pubkey.go +++ b/crypto/codec/pubkey.go @@ -1,9 +1,10 @@ package codec import ( + "github.com/cometbft/cometbft/crypto/bls12381" + "cosmossdk.io/errors" - "github.com/cometbft/cometbft/crypto/bls12381" cryptokeys "github.com/cosmos/cosmos-sdk/crypto/keys" bls12_381 "github.com/cosmos/cosmos-sdk/crypto/keys/bls12_381" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" diff --git a/crypto/keys/jsonkey.go b/crypto/keys/jsonkey.go index 07f08ef92874..a6b1dd72c719 100644 --- a/crypto/keys/jsonkey.go +++ b/crypto/keys/jsonkey.go @@ -2,6 +2,7 @@ package keys import ( bls "github.com/cometbft/cometbft/crypto/bls12381" + "github.com/cosmos/cosmos-sdk/crypto/keys/bls12_381" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" diff --git a/crypto/keys/multisig/codec.go b/crypto/keys/multisig/codec.go index 66df440ea690..b1e9a0d91602 100644 --- a/crypto/keys/multisig/codec.go +++ b/crypto/keys/multisig/codec.go @@ -2,6 +2,7 @@ package multisig import ( "github.com/cometbft/cometbft/crypto/bls12381" + "github.com/cosmos/cosmos-sdk/codec" bls12_381 "github.com/cosmos/cosmos-sdk/crypto/keys/bls12_381" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" diff --git a/tests/integration/type_check.go b/tests/integration/type_check.go index 9885981eb2a4..2982f79ea639 100644 --- a/tests/integration/type_check.go +++ b/tests/integration/type_check.go @@ -1,9 +1,9 @@ package integration import ( - coretesting "cosmossdk.io/core/testing" - db "github.com/cosmos/cosmos-db" + + coretesting "cosmossdk.io/core/testing" ) // This file contains a list of type checks that are used to ensure that implementations