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

update Gaia with to latest SDK master #210

Merged
merged 3 commits into from
Dec 5, 2019
Merged

Conversation

fedekunze
Copy link
Collaborator

@fedekunze fedekunze commented Dec 4, 2019

Description

Updated Gaia with the simulation refactors from cosmos/cosmos-sdk#4869


For contributor use:

  • 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.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

For admin use:

  • Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
  • Reviewers assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

)

// SimulationOperations retrieves the simulation params from the provided file path
// and returns all the modules weighted operations
func SimulationOperations(app *GaiaApp, cdc *codec.Codec, config simulation.Config) []simulation.WeightedOperation {
Copy link
Collaborator Author

@fedekunze fedekunze Dec 4, 2019

Choose a reason for hiding this comment

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

simapp.SimulationOperations receives a SimApp as parameter, so I can't use that util func atm. I'd need to extend Simapp to return the simulation manager (app.sm) and use a general App interface.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'd like to do that in a separate PR on the SDK tho

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

will open an issue on SDK

@fedekunze fedekunze added R4R and removed WIP labels Dec 5, 2019
@fedekunze fedekunze changed the title DNM: update Gaia with sim refactor update Gaia with to latest SDK master Dec 5, 2019
Copy link
Contributor

@alessio alessio left a comment

Choose a reason for hiding this comment

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

ACK - and ACK on #210 (comment)

Please merge

@fedekunze fedekunze merged commit 7c5bd87 into master Dec 5, 2019
@fedekunze fedekunze deleted the fedekunze/sim-updates branch December 5, 2019 11:18
@jackzampolin
Copy link
Member

All sims passing! 🎉🕺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants