Skip to content

Commit

Permalink
Merge branch 'main' into feat/state-verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0n00gler committed Nov 13, 2024
2 parents 0b61afe + 954660e commit 44ccec4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 455 deletions.
4 changes: 3 additions & 1 deletion cmd/neutrond/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
// create a temporary application for use in constructing query + tx commands
initAppOptions := viper.New()
tempDir := tempDir()
// cleanup temp dir after we are done with the tempApp, so we don't leave behind a
// new temporary directory for every invocation. See https://github.com/CosmWasm/wasmd/issues/2017
defer os.RemoveAll(tempDir)
initAppOptions.Set(flags.FlagHome, tempDir)
tempApplication := app.New(
log.NewNopLogger(),
Expand Down Expand Up @@ -139,7 +142,6 @@ func tempDir() string {
if err != nil {
dir = app.DefaultNodeHome
}
defer os.RemoveAll(dir)

return dir
}
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ require (
replace (
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
github.com/CosmWasm/wasmd => github.com/neutron-org/wasmd v0.53.0-neutron
github.com/cometbft/cometbft => github.com/neutron-org/cometbft v0.0.0-20241111105801-a7fe160b0b62
github.com/cosmos/admin-module/v2 => github.com/neutron-org/admin-module/v2 v2.0.2
github.com/cosmos/cosmos-sdk => github.com/neutron-org/cosmos-sdk v0.50.9-neutron.0.20240924163649-207f347e9c53
// explicitely replace iavl to v1.2.0 cause sometimes go mod tidy uses not right version
Expand Down
Loading

0 comments on commit 44ccec4

Please sign in to comment.