From 82f31a8a903eb99a5686ba74f328e4f1f5522209 Mon Sep 17 00:00:00 2001 From: Shogo Hyodo Date: Sun, 28 Jan 2024 00:36:22 +0900 Subject: [PATCH] Reorder package --- x/stakingplus/authz.go | 3 ++- x/stakingplus/keeper/keeper_test.go | 1 + x/stakingplus/keeper/msg_server_test.go | 1 + x/stakingplus/module/module.go | 5 +++-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/x/stakingplus/authz.go b/x/stakingplus/authz.go index 677347361c..e585fc4f25 100644 --- a/x/stakingplus/authz.go +++ b/x/stakingplus/authz.go @@ -1,10 +1,11 @@ package stakingplus import ( - "github.com/Finschia/finschia-sdk/x/foundation" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + + "github.com/Finschia/finschia-sdk/x/foundation" ) var _ foundation.Authorization = (*CreateValidatorAuthorization)(nil) diff --git a/x/stakingplus/keeper/keeper_test.go b/x/stakingplus/keeper/keeper_test.go index 3e2fa39ffb..81b18e5709 100644 --- a/x/stakingplus/keeper/keeper_test.go +++ b/x/stakingplus/keeper/keeper_test.go @@ -10,6 +10,7 @@ import ( "cosmossdk.io/depinject" "cosmossdk.io/log" "cosmossdk.io/math" + "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" "github.com/cosmos/cosmos-sdk/runtime" simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" diff --git a/x/stakingplus/keeper/msg_server_test.go b/x/stakingplus/keeper/msg_server_test.go index 3fcb866183..cfc7120343 100644 --- a/x/stakingplus/keeper/msg_server_test.go +++ b/x/stakingplus/keeper/msg_server_test.go @@ -2,6 +2,7 @@ package keeper_test import ( "cosmossdk.io/math" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" diff --git a/x/stakingplus/module/module.go b/x/stakingplus/module/module.go index 78818dbb96..8e3d5de755 100644 --- a/x/stakingplus/module/module.go +++ b/x/stakingplus/module/module.go @@ -5,12 +5,13 @@ import ( "encoding/json" "fmt" + abci "github.com/cometbft/cometbft/abci/types" + + modulev1 "cosmossdk.io/api/cosmos/staking/module/v1" "cosmossdk.io/core/appmodule" "cosmossdk.io/core/store" "cosmossdk.io/depinject" - abci "github.com/cometbft/cometbft/abci/types" - modulev1 "cosmossdk.io/api/cosmos/staking/module/v1" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/runtime"