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

resume simulations at a given height #4791

Merged
merged 5 commits into from
Aug 2, 2019

Conversation

fedekunze
Copy link
Collaborator

@fedekunze fedekunze commented Jul 26, 2019

Closes: #4490

  • Targeted PR against correct branch (see CONTRIBUTING.md)

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.

  • Wrote tests

  • Updated relevant documentation (docs/)

  • Added a relevant changelog entry: clog add [section] [-t <tag>] [-m <msg>]

  • Re-reviewed Files changed in the github PR explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

func getSimulateFromSeedInput(tb testing.TB, w io.Writer, app *SimApp) (
testing.TB, io.Writer, *baseapp.BaseApp, simulation.AppStateFn, int64,
simulation.WeightedOperations, sdk.Invariants, int, int, int,
simulation.WeightedOperations, sdk.Invariants, int, int, int, int,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry @alexanderbez. I promise I'll refactor this later lol

@codecov
Copy link

codecov bot commented Jul 26, 2019

Codecov Report

Merging #4791 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4791   +/-   ##
=======================================
  Coverage   54.18%   54.18%           
=======================================
  Files         269      269           
  Lines       17191    17191           
=======================================
  Hits         9315     9315           
  Misses       7186     7186           
  Partials      690      690

simapp/sim_test.go Outdated Show resolved Hide resolved
x/simulation/simulate.go Show resolved Hide resolved
Copy link
Contributor

@rigelrozanski rigelrozanski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK - one suggestion

simapp/sim_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@alexanderbez alexanderbez merged commit c4e3578 into master Aug 2, 2019
@alexanderbez alexanderbez deleted the fedekunze/4490-pause-resume-sims branch August 2, 2019 15:28
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simulator: pausing/resuming simulation runs
3 participants