This repository was archived by the owner on Jan 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +320
-34
lines changed
Expand file tree Collapse file tree 3 files changed +320
-34
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,11 @@ func NewRootCmd(
136136 Use : appName + "d" ,
137137 Short : "Stargate CosmosHub App" ,
138138 PersistentPreRunE : func (cmd * cobra.Command , _ []string ) error {
139- initClientCtx = client .ReadHomeFlag (initClientCtx , cmd )
140-
141- initClientCtx , err := config .ReadFromClientConfig (initClientCtx )
139+ initClientCtx , err := client .ReadPersistentCommandFlags (initClientCtx , cmd .Flags ())
140+ if err != nil {
141+ return err
142+ }
143+ initClientCtx , err = config .ReadFromClientConfig (initClientCtx )
142144 if err != nil {
143145 return err
144146 }
Original file line number Diff line number Diff line change @@ -3,15 +3,14 @@ module github.com/tendermint/spm
33go 1.16
44
55require (
6- github.com/cosmos/cosmos-sdk v0.44.0
7- github.com/cosmos/ibc-go v1.2.0
6+ github.com/cosmos/cosmos-sdk v0.44.3
7+ github.com/cosmos/ibc-go v1.2.2
88 github.com/google/gofuzz v1.2.0 // indirect
9- github.com/kr/text v0.2.0 // indirect
109 github.com/spf13/cast v1.3.1
11- github.com/spf13/cobra v1.1.3
10+ github.com/spf13/cobra v1.2.1
1211 github.com/spf13/pflag v1.0.5
1312 github.com/stretchr/testify v1.7.0
14- github.com/tendermint/tendermint v0.34.13
13+ github.com/tendermint/tendermint v0.34.14
1514 github.com/tendermint/tm-db v0.6.4
1615)
1716
You can’t perform that action at this time.
0 commit comments