chore: add govulncheck (#316)
* import * add target * workflow * remove parallel * fix with dummy
This commit is contained in:
@@ -38,7 +38,6 @@ import (
|
||||
txmodule "github.com/cosmos/cosmos-sdk/x/auth/tx/config"
|
||||
"github.com/cosmos/cosmos-sdk/x/auth/types"
|
||||
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
|
||||
"github.com/cosmos/cosmos-sdk/x/crisis"
|
||||
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
|
||||
)
|
||||
|
||||
@@ -227,8 +226,8 @@ func initRootCmd(
|
||||
)
|
||||
}
|
||||
|
||||
func addModuleInitFlags(startCmd *cobra.Command) {
|
||||
crisis.AddModuleInitFlags(startCmd)
|
||||
func addModuleInitFlags(cmd *cobra.Command) {
|
||||
cmd.Flags().Bool(flagCrisisDummy, true, "dummy flag for crisis module")
|
||||
}
|
||||
|
||||
// genesisCommand builds genesis-related `simd genesis` command. Users may provide application specific commands as a parameter
|
||||
|
||||
@@ -49,6 +49,7 @@ var (
|
||||
flagRPCAddress = "rpc.address"
|
||||
flagAPIAddress = "api.address"
|
||||
flagPrintMnemonic = "print-mnemonic"
|
||||
flagCrisisDummy = "x-crisis-skip-assert-invariants" // dummy flag so that the crisis module does not need to be imported for security reasons
|
||||
)
|
||||
|
||||
type initArgs struct {
|
||||
|
||||
@@ -68,8 +68,6 @@ func (s *NetworkTestSuite) TestGetLanes() {
|
||||
}
|
||||
|
||||
func (s *NetworkTestSuite) TestGetAuctionParams() {
|
||||
s.T().Parallel()
|
||||
|
||||
common := []string{
|
||||
fmt.Sprintf("--%s=json", tmcli.OutputFlag),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user