From 21a56ee05e2470ebf6ccf9027b66a9a595ffa22b Mon Sep 17 00:00:00 2001 From: Marston Connell <34043723+TheMarstonConnell@users.noreply.github.com> Date: Tue, 6 Dec 2022 23:39:48 -0500 Subject: [PATCH] added back the chain-id --- .gitignore | 3 +++ cmd/canined/root.go | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index c24dfb9c4..f8b38d4be 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,6 @@ dependency-graph.png *.synctex.gz contract_tests/* app.test + +mytestnet +_build diff --git a/cmd/canined/root.go b/cmd/canined/root.go index 040c44eec..052693fda 100644 --- a/cmd/canined/root.go +++ b/cmd/canined/root.go @@ -89,6 +89,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) { } initRootCmd(rootCmd, encodingConfig) + rootCmd.PersistentFlags().String(flags.FlagChainID, "", "The network chain ID") return rootCmd, encodingConfig } @@ -174,6 +175,7 @@ func txCommand() *cobra.Command { ) app.ModuleBasics.AddTxCommands(cmd) + cmd.PersistentFlags().String(flags.FlagChainID, "", "The network chain ID") return cmd }