Skip to content

Commit

Permalink
Update genesis.go
Browse files Browse the repository at this point in the history
  • Loading branch information
crStiv authored Feb 6, 2025
1 parent 8ab040f commit 463d0fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/core/simulation/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ func RandomizedGenState(simState *module.SimulationState) {

bz, err := json.MarshalIndent(&ibcGenesis, "", " ")
if err != nil {
panic(err)
fmt.Printf("Error marshaling IBC genesis state: %v\n", err)
return
}
fmt.Printf("Selected randomly generated %s parameters:\n%s\n", ibcexported.ModuleName, bz)
simState.GenState[ibcexported.ModuleName] = simState.Cdc.MustMarshalJSON(&ibcGenesis)
Expand Down

0 comments on commit 463d0fe

Please sign in to comment.