Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Dec 2, 2024
1 parent f1e76e9 commit dbdc4bd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion ignite/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ import (
func NewTestnet() *cobra.Command {
c := &cobra.Command{
Use: "testnet [command]",
Short: "Start a testnet local",
Short: "Simulate (Fuzz) the chain or start a testnet, either in place (using mainnet data) or with multiple nodes.",
Aliases: []string{"t"},
Args: cobra.ExactArgs(1),
}

c.AddCommand(
NewTestnetInPlace(),
NewTestnetMultiNode(),
NewChainSimulate(), // While this is not per se a testnet command, it is related to testing.
)

return c
Expand Down
4 changes: 3 additions & 1 deletion ignite/pkg/chaincmd/simulate.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ const (

commandGoTest = "test"
optionGoBenchmem = "-benchmem"
optionGoSimappRun = "-run=^$"
optionGoSimappRun = "-run=^TestFullAppSimulation$"
optionGoSimsTags = "-tags='sims'"
)

// SimappOption for the SimulateCommand.
Expand Down Expand Up @@ -176,6 +177,7 @@ func SimulationCommand(appPath string, options ...SimappOption) step.Option {
commandGoTest,
optionGoBenchmem,
optionGoSimappRun,
optionGoSimsTags,
filepath.Join(appPath, "app"),
}

Expand Down
2 changes: 0 additions & 2 deletions ignite/templates/app/files/app/sim_bench_test.go.plush
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build sims

package app

import (
Expand Down
2 changes: 0 additions & 2 deletions ignite/templates/app/files/app/sim_test.go.plush
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build sims

package app

import (
Expand Down

0 comments on commit dbdc4bd

Please sign in to comment.