Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/market/simulation/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion x/mint/types/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down
2 changes: 1 addition & 1 deletion x/orderbook/keeper/exposure_odds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

func createNOrderBookOddsExposure(
tApp *simappUtil.TestApp,
_ *simappUtil.TestApp,
keeper *keeper.KeeperTest,
ctx sdk.Context,
n int,
Expand Down
2 changes: 1 addition & 1 deletion x/orderbook/keeper/exposure_participation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

func createNParticipationExposure(
tApp *simappUtil.TestApp,
_ *simappUtil.TestApp,
keeper *keeper.KeeperTest,
ctx sdk.Context,
n int,
Expand Down
2 changes: 1 addition & 1 deletion x/orderbook/keeper/orderbook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

func createNOrderBook(
tApp *simappUtil.TestApp,
_ *simappUtil.TestApp,
keeper *keeper.KeeperTest,
ctx sdk.Context,
n int,
Expand Down
2 changes: 1 addition & 1 deletion x/orderbook/keeper/participation_bet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

func createNParticipationBetPair(
tApp *simappUtil.TestApp,
_ *simappUtil.TestApp,
keeper *keeper.KeeperTest,
ctx sdk.Context,
n int,
Expand Down
4 changes: 2 additions & 2 deletions x/orderbook/keeper/participation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
)

func createNParticipation(
tApp *simappUtil.TestApp,
_ *simappUtil.TestApp,
keeper *keeper.KeeperTest,
ctx sdk.Context,
n int,
Expand All @@ -45,7 +45,7 @@ func createNParticipation(

func createTestMarket(
tApp *simappUtil.TestApp,
keeper *keeper.KeeperTest,
_ *keeper.KeeperTest,
ctx sdk.Context,
marketUID string,
status markettypes.MarketStatus,
Expand Down
2 changes: 1 addition & 1 deletion x/ovm/simulation/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down