From ab4baf29df21317946e102e1be76378159f8cf97 Mon Sep 17 00:00:00 2001 From: lumtis Date: Wed, 13 Sep 2023 16:10:28 +0200 Subject: [PATCH] format imports --- x/fungible/keeper/gas_price_test.go | 5 +++-- x/fungible/keeper/msg_server_deploy_fungible_coin_zrc20.go | 3 ++- .../keeper/msg_server_deploy_fungible_coin_zrc20_test.go | 2 +- x/fungible/keeper/system_contract_test.go | 3 +-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/x/fungible/keeper/gas_price_test.go b/x/fungible/keeper/gas_price_test.go index 4253ef9ca7..ec1bf267d8 100644 --- a/x/fungible/keeper/gas_price_test.go +++ b/x/fungible/keeper/gas_price_test.go @@ -1,6 +1,9 @@ package keeper_test import ( + "math/big" + "testing" + ethcommon "github.com/ethereum/go-ethereum/common" "github.com/stretchr/testify/require" "github.com/zeta-chain/protocol-contracts/pkg/contracts/zevm/systemcontract.sol" @@ -8,8 +11,6 @@ import ( "github.com/zeta-chain/zetacore/testutil/sample" "github.com/zeta-chain/zetacore/x/fungible/keeper" "github.com/zeta-chain/zetacore/x/fungible/types" - "math/big" - "testing" ) func TestKeeper_SetGasPrice(t *testing.T) { diff --git a/x/fungible/keeper/msg_server_deploy_fungible_coin_zrc20.go b/x/fungible/keeper/msg_server_deploy_fungible_coin_zrc20.go index 40dad50359..db782a6491 100644 --- a/x/fungible/keeper/msg_server_deploy_fungible_coin_zrc20.go +++ b/x/fungible/keeper/msg_server_deploy_fungible_coin_zrc20.go @@ -2,9 +2,10 @@ package keeper import ( "context" - "github.com/ethereum/go-ethereum/common" "math/big" + "github.com/ethereum/go-ethereum/common" + sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" zetacommon "github.com/zeta-chain/zetacore/common" diff --git a/x/fungible/keeper/msg_server_deploy_fungible_coin_zrc20_test.go b/x/fungible/keeper/msg_server_deploy_fungible_coin_zrc20_test.go index 5d7d84cc66..5eef132e3f 100644 --- a/x/fungible/keeper/msg_server_deploy_fungible_coin_zrc20_test.go +++ b/x/fungible/keeper/msg_server_deploy_fungible_coin_zrc20_test.go @@ -1,11 +1,11 @@ package keeper_test import ( - ethcommon "github.com/ethereum/go-ethereum/common" "math/big" "testing" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + ethcommon "github.com/ethereum/go-ethereum/common" "github.com/stretchr/testify/require" "github.com/zeta-chain/zetacore/common" keepertest "github.com/zeta-chain/zetacore/testutil/keeper" diff --git a/x/fungible/keeper/system_contract_test.go b/x/fungible/keeper/system_contract_test.go index 753f339770..3874f52435 100644 --- a/x/fungible/keeper/system_contract_test.go +++ b/x/fungible/keeper/system_contract_test.go @@ -6,9 +6,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/stretchr/testify/require" - "github.com/zeta-chain/zetacore/testutil/sample" - keepertest "github.com/zeta-chain/zetacore/testutil/keeper" + "github.com/zeta-chain/zetacore/testutil/sample" "github.com/zeta-chain/zetacore/x/fungible/types" )