Skip to content

Commit

Permalink
made review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal-kanna committed Nov 22, 2023
1 parent 72d82ba commit 8103eb3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"path/filepath"
"strings"

// storetypes "cosmossdk.io/store/types"
// "github.com/CosmWasm/wasmd/x/wasm"
// wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"

Expand Down Expand Up @@ -57,7 +56,6 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"

"github.com/cosmos/ibc-go/modules/capability"
// ica "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts"

capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper"
capabilitytypes "github.com/cosmos/ibc-go/modules/capability/types"
Expand Down
4 changes: 2 additions & 2 deletions app/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
// file.
func (app *App) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs, modulesToExport []string) (servertypes.ExportedApp, error) {
// as if they could withdraw from the start of the next block
ctx := app.NewContext(true /*tmproto.Header{Height: app.LastBlockHeight()}*/)
ctx := app.NewContext(true)

// We export at last height + 1, because that's the height at which
// Tendermint will start InitChain.
Expand All @@ -28,7 +28,7 @@ func (app *App) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs

genState, err := app.mm.ExportGenesisForModules(ctx, app.appCodec, modulesToExport)
if err != nil {
println("error")
panic(err)
}

appState, err := json.MarshalIndent(genState, "", " ")
Expand Down
2 changes: 0 additions & 2 deletions cmd/palomad/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ func newApp(
traceStore io.Writer,
appOpts servertypes.AppOptions,
) servertypes.Application {
//baseappOptions := server.DefaultBaseappOptions(appOpts)

return app.New(
logger, db, traceStore, true,
params.EncodingConfig{}, nil,
Expand Down

0 comments on commit 8103eb3

Please sign in to comment.