upgrade proposal needs tx flags. (#6981)
* upgrade proposal needs tx flags * use AddTxFlagToCmd to every proposal command Co-authored-by: Alessio Treglia <alessio@tendermint.com> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
co-authored by
Alessio Treglia
Alexander Bezobchuk
parent
a555b2cd4c
commit
4c762db64e
@@ -820,6 +820,7 @@ func (s *IntegrationTestSuite) TestGetCmdSubmitProposal() {
|
||||
|
||||
s.Run(tc.name, func() {
|
||||
cmd := cli.GetCmdSubmitProposal()
|
||||
flags.AddTxFlagsToCmd(cmd)
|
||||
_, out := testutil.ApplyMockIO(cmd)
|
||||
|
||||
clientCtx := val.ClientCtx.WithOutput(out)
|
||||
|
||||
@@ -318,7 +318,5 @@ Where proposal.json contains:
|
||||
},
|
||||
}
|
||||
|
||||
flags.AddTxFlagsToCmd(cmd)
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user