diff --git a/x/market/simulation/genesis_test.go b/x/market/simulation/genesis_test.go index 0c80827e..72b48a41 100644 --- a/x/market/simulation/genesis_test.go +++ b/x/market/simulation/genesis_test.go @@ -18,7 +18,7 @@ import ( // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. // Abnormal scenarios are not tested here. -func TestRandomizedGenState(t *testing.T) { +func TestRandomizedGenState(_ *testing.T) { interfaceRegistry := codectypes.NewInterfaceRegistry() cdc := codec.NewProtoCodec(interfaceRegistry) diff --git a/x/mint/types/params_test.go b/x/mint/types/params_test.go index e798c161..828d9a80 100644 --- a/x/mint/types/params_test.go +++ b/x/mint/types/params_test.go @@ -61,7 +61,7 @@ func TestIsPhaseEndPhase(t *testing.T) { require.True(t, p.IsEndPhaseByStep(11)) } -func TestParamKeyTable(t *testing.T) { +func TestParamKeyTable(_ *testing.T) { types.ParamKeyTable() } diff --git a/x/orderbook/keeper/exposure_odds_test.go b/x/orderbook/keeper/exposure_odds_test.go index fddb5d55..1ddc9b60 100644 --- a/x/orderbook/keeper/exposure_odds_test.go +++ b/x/orderbook/keeper/exposure_odds_test.go @@ -13,7 +13,7 @@ import ( ) func createNOrderBookOddsExposure( - tApp *simappUtil.TestApp, + _ *simappUtil.TestApp, keeper *keeper.KeeperTest, ctx sdk.Context, n int, diff --git a/x/orderbook/keeper/exposure_participation_test.go b/x/orderbook/keeper/exposure_participation_test.go index ed97966f..d834fce1 100644 --- a/x/orderbook/keeper/exposure_participation_test.go +++ b/x/orderbook/keeper/exposure_participation_test.go @@ -13,7 +13,7 @@ import ( ) func createNParticipationExposure( - tApp *simappUtil.TestApp, + _ *simappUtil.TestApp, keeper *keeper.KeeperTest, ctx sdk.Context, n int, diff --git a/x/orderbook/keeper/orderbook_test.go b/x/orderbook/keeper/orderbook_test.go index 8589a247..0139c897 100644 --- a/x/orderbook/keeper/orderbook_test.go +++ b/x/orderbook/keeper/orderbook_test.go @@ -14,7 +14,7 @@ import ( ) func createNOrderBook( - tApp *simappUtil.TestApp, + _ *simappUtil.TestApp, keeper *keeper.KeeperTest, ctx sdk.Context, n int, diff --git a/x/orderbook/keeper/participation_bet_test.go b/x/orderbook/keeper/participation_bet_test.go index 80af5136..f185e926 100644 --- a/x/orderbook/keeper/participation_bet_test.go +++ b/x/orderbook/keeper/participation_bet_test.go @@ -14,7 +14,7 @@ import ( ) func createNParticipationBetPair( - tApp *simappUtil.TestApp, + _ *simappUtil.TestApp, keeper *keeper.KeeperTest, ctx sdk.Context, n int, diff --git a/x/orderbook/keeper/participation_test.go b/x/orderbook/keeper/participation_test.go index ecc86ce5..5c63c984 100644 --- a/x/orderbook/keeper/participation_test.go +++ b/x/orderbook/keeper/participation_test.go @@ -18,7 +18,7 @@ import ( ) func createNParticipation( - tApp *simappUtil.TestApp, + _ *simappUtil.TestApp, keeper *keeper.KeeperTest, ctx sdk.Context, n int, @@ -45,7 +45,7 @@ func createNParticipation( func createTestMarket( tApp *simappUtil.TestApp, - keeper *keeper.KeeperTest, + _ *keeper.KeeperTest, ctx sdk.Context, marketUID string, status markettypes.MarketStatus, diff --git a/x/ovm/simulation/genesis_test.go b/x/ovm/simulation/genesis_test.go index be0e19ea..9745a0a9 100644 --- a/x/ovm/simulation/genesis_test.go +++ b/x/ovm/simulation/genesis_test.go @@ -18,7 +18,7 @@ import ( // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. // Abnormal scenarios are not tested here. -func TestRandomizedGenState(t *testing.T) { +func TestRandomizedGenState(_ *testing.T) { interfaceRegistry := codectypes.NewInterfaceRegistry() cdc := codec.NewProtoCodec(interfaceRegistry)