Skip to content
Merged
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
4 changes: 3 additions & 1 deletion cmd/mantrachaind/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ import (
func NewRootCmd() *cobra.Command {
// we "pre"-instantiate the application for getting the injected/configured encoding configuration
// note, this is not necessary when using app wiring, as depinject can be directly used (see root_v2.go)
temp := tempDir()
defer os.RemoveAll(temp)
tempApp := app.New(
log.NewNopLogger(),
dbm.NewMemDB(),
nil,
false,
simtestutil.NewAppOptionsWithFlagHome(tempDir()),
simtestutil.NewAppOptionsWithFlagHome(temp),
[]wasmkeeper.Option{},
app.MANTRAChainID,
app.EvmAppOptions,
Expand Down
Loading