-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(client/v2): use (PREFIX)_HOME instead of NODE_HOME (#20964)
(cherry picked from commit 6708818) # Conflicts: # client/v2/CHANGELOG.md # simapp/v2/simdv2/main.go
- Loading branch information
1 parent
28721bc
commit 156b425
Showing
5 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package main | ||
|
||
import ( | ||
"fmt" | ||
"os" | ||
|
||
clientv2helpers "cosmossdk.io/client/v2/helpers" | ||
"cosmossdk.io/core/transaction" | ||
serverv2 "cosmossdk.io/server/v2" | ||
"cosmossdk.io/simapp/v2" | ||
"cosmossdk.io/simapp/v2/simdv2/cmd" | ||
) | ||
|
||
func main() { | ||
rootCmd := cmd.NewRootCmd[transaction.Tx]() | ||
if err := serverv2.Execute(rootCmd, clientv2helpers.EnvPrefix, simapp.DefaultNodeHome); err != nil { | ||
fmt.Fprintln(rootCmd.OutOrStderr(), err) | ||
os.Exit(1) | ||
} | ||
} |