Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(sims): Introduce new sims method factory and helper structures #21037

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address todos
  • Loading branch information
alpe committed Jul 25, 2024
commit 3f891be9711135fd40b8d65b0e51cc02e114cc8d
4 changes: 2 additions & 2 deletions simsx/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ func (b *SimsAccountBalance) randomAmount(retryCount int, reporter SimulationRep
func (b *SimsAccountBalance) RandFees() sdk.Coins {
amount, err := simtypes.RandomFees(b.r, b.Coins)
if err != nil {
panic(err.Error()) // todo: setup a better way to abort execution
} // todo: revisit the panic
return sdk.Coins{}
}
return amount
}

Expand Down