style: remove redundant import alias (#23130)

Co-authored-by: hao.wang <hao.wang@haowangdeMacBook-Pro.local>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Alex | Skip <alex@skip.money>
This commit is contained in:
ipangpang 2025-01-03 23:04:11 +08:00 committed by GitHub
parent cd183556f3
commit d8c84589fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
17 changed files with 19 additions and 19 deletions

View File

@ -4,7 +4,7 @@ import (
"context"
"fmt"
transaction "cosmossdk.io/core/transaction"
"cosmossdk.io/core/transaction"
)
type (

View File

@ -5,7 +5,7 @@ import (
"cosmossdk.io/core/registry"
bls12_381 "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"
kmultisig "github.com/cosmos/cosmos-sdk/crypto/keys/multisig"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"

View File

@ -7,7 +7,7 @@ import (
"cosmossdk.io/errors"
bls12_381 "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"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"

View File

@ -3,7 +3,7 @@ package codec
import (
"cosmossdk.io/core/registry"
bls12_381 "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"
"github.com/cosmos/cosmos-sdk/crypto/keys/multisig"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"

View File

@ -6,7 +6,7 @@ import (
"cosmossdk.io/errors"
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/bls12_381"
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"

View File

@ -4,7 +4,7 @@ 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/bls12_381"
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"

View File

@ -12,7 +12,7 @@ import (
gogoproto "github.com/cosmos/gogoproto/proto"
"google.golang.org/grpc"
proto "google.golang.org/protobuf/proto"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/reflect/protoreflect"
runtimev2 "cosmossdk.io/api/cosmos/app/runtime/v2"

View File

@ -8,8 +8,8 @@ import (
"github.com/stretchr/testify/require"
serverv2 "cosmossdk.io/server/v2"
grpc "cosmossdk.io/server/v2/api/grpc"
store "cosmossdk.io/server/v2/store"
"cosmossdk.io/server/v2/api/grpc"
"cosmossdk.io/server/v2/store"
"cosmossdk.io/store/v2/root"
)

View File

@ -15,7 +15,7 @@ import (
"cosmossdk.io/core/transaction"
"cosmossdk.io/log"
serverv2 "cosmossdk.io/server/v2"
grpc "cosmossdk.io/server/v2/api/grpc"
"cosmossdk.io/server/v2/api/grpc"
"cosmossdk.io/server/v2/store"
storev2 "cosmossdk.io/store/v2"
)

View File

@ -1,7 +1,7 @@
package cachekv_test
import (
fmt "fmt"
"fmt"
"testing"
"github.com/stretchr/testify/require"

View File

@ -2,7 +2,7 @@ package types
import (
abci "github.com/cometbft/cometbft/api/cometbft/abci/v1"
proto "github.com/cosmos/gogoproto/proto"
"github.com/cosmos/gogoproto/proto"
"cosmossdk.io/errors"
)

View File

@ -2,9 +2,9 @@ package types
import (
"encoding/binary"
fmt "fmt"
"fmt"
proto "github.com/cosmos/gogoproto/proto"
"github.com/cosmos/gogoproto/proto"
)
// Codec defines a interface needed for the store package to marshal data

View File

@ -5,7 +5,7 @@ import (
ics23 "github.com/cosmos/ics23/go"
errors "cosmossdk.io/errors/v2"
"cosmossdk.io/errors/v2"
storeerrors "cosmossdk.io/store/v2/errors"
)

View File

@ -26,7 +26,7 @@ import (
"cosmossdk.io/x/upgrade/plan"
upgradetypes "cosmossdk.io/x/upgrade/types"
cmtservice "github.com/cosmos/cosmos-sdk/client/grpc/cmtservice"
"github.com/cosmos/cosmos-sdk/client/grpc/cmtservice"
)
type Launcher struct {

View File

@ -6,7 +6,7 @@ import (
"gotest.tools/v3/assert"
address "cosmossdk.io/core/address"
"cosmossdk.io/core/address"
coretesting "cosmossdk.io/core/testing"
"cosmossdk.io/math"
storetypes "cosmossdk.io/store/types"

View File

@ -18,7 +18,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
simsx "github.com/cosmos/cosmos-sdk/simsx"
"github.com/cosmos/cosmos-sdk/simsx"
"github.com/cosmos/cosmos-sdk/types/module"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
)

View File

@ -2,7 +2,7 @@ package types
import (
"testing"
time "time"
"time"
"github.com/stretchr/testify/require"