Skip to content

Commit

Permalink
remove print lines
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Oct 23, 2024
1 parent 9dfc005 commit a40f4d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions tests/simulation/sim/sim_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ func PrintStats(db dbm.DB) {
// if the export paths are defined.
func CheckExportSimulation(app runtime.AppI, config simtypes.Config, params simtypes.Params) error {
if config.ExportStatePath != "" {
fmt.Println("exporting app state...")
exported, err := app.ExportAppStateAndValidators(false, nil, nil)
if err != nil {
return err
Expand All @@ -87,7 +86,6 @@ func CheckExportSimulation(app runtime.AppI, config simtypes.Config, params simt
}

if config.ExportParamsPath != "" {
fmt.Println("exporting simulation params...")
paramsBz, err := json.MarshalIndent(params, "", " ")
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion tests/simulation/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ func TestAppSimulationAfterImport(t *testing.T) {
simutils.PrintStats(db)

if stopEarly {
fmt.Println("can't export or import a zero-validator genesis, exiting test...")
t.Log("can't export or import a zero-validator genesis, exiting test")
return
}

Expand Down

0 comments on commit a40f4d9

Please sign in to comment.