From f1d2972c9cff1ed8a7b6ce1fcb6c582a5dd1fb45 Mon Sep 17 00:00:00 2001 From: Alex Peters Date: Wed, 11 Jan 2023 09:35:22 +0100 Subject: [PATCH] Review comments --- benchmarks/app_test.go | 2 +- x/wasm/client/proposal_handler.go | 1 - x/wasm/module.go | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/benchmarks/app_test.go b/benchmarks/app_test.go index 4085822e1d..89289d38e8 100644 --- a/benchmarks/app_test.go +++ b/benchmarks/app_test.go @@ -43,7 +43,7 @@ func setup(db dbm.DB, withGenesis bool, invCheckPeriod uint, opts ...wasm.Option return wasmApp, app.GenesisState{} } -// SetupWithGenesisAccounts initializes a new WasmApp with the provided genesis +// SetupWithGenesisAccountsAndValSet initializes a new WasmApp with the provided genesis // accounts and possible balances. func SetupWithGenesisAccountsAndValSet(b testing.TB, db dbm.DB, genAccs []authtypes.GenesisAccount, balances ...banktypes.Balance) *app.WasmApp { wasmApp, genesisState := setup(db, true, 0) diff --git a/x/wasm/client/proposal_handler.go b/x/wasm/client/proposal_handler.go index 53afeec61d..deba8070ca 100644 --- a/x/wasm/client/proposal_handler.go +++ b/x/wasm/client/proposal_handler.go @@ -4,7 +4,6 @@ import ( govclient "github.com/cosmos/cosmos-sdk/x/gov/client" "github.com/CosmWasm/wasmd/x/wasm/client/cli" - //nolint:staticcheck ) // ProposalHandlers define the wasm cli proposal types and rest handler. diff --git a/x/wasm/module.go b/x/wasm/module.go index d2b5b1da8d..a387208d94 100644 --- a/x/wasm/module.go +++ b/x/wasm/module.go @@ -27,7 +27,6 @@ import ( abci "github.com/tendermint/tendermint/abci/types" "github.com/CosmWasm/wasmd/x/wasm/client/cli" - //nolint:staticcheck "github.com/CosmWasm/wasmd/x/wasm/keeper" "github.com/CosmWasm/wasmd/x/wasm/simulation" "github.com/CosmWasm/wasmd/x/wasm/types"