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

Fix wasm simulations #870

Merged
merged 13 commits into from
May 31, 2022
Merged

Fix wasm simulations #870

merged 13 commits into from
May 31, 2022

Conversation

alpe
Copy link
Contributor

@alpe alpe commented May 19, 2022

Fix wasmd simulations so that there are not operations failing during simulations.

Update MsgStoreCode simulation
Update MsgInstantiateContract simulation
Add MsgExecute simulation

Replaces #856

@alpe alpe force-pushed the fix-wasm-simulations_rebased branch from c7f7158 to b4fc6e9 Compare May 23, 2022 12:52
@alpe alpe requested a review from pinosu May 24, 2022 13:35
simulations:
executor: golang
parallelism: 1
resource_class: large
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@pinosu pinosu left a comment

Choose a reason for hiding this comment

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

lgtm 👍 thanks for fixing all the major issues and implementing MsgExecuteContract simulations . Really good work 💯

@alpe alpe merged commit 2a9c5c1 into main May 31, 2022
@alpe alpe deleted the fix-wasm-simulations_rebased branch May 31, 2022 08:07
tomtau pushed a commit to crypto-org-chain/wasmd that referenced this pull request Aug 1, 2022
* Fix wasm simulations + make functions compatible with tgrade

* Fix lint issues

* Fix simulation setup

* Make simulations store msg pass

* Use default values params to make operations succeed

* Normalize wasm store

* Add simulations to circleci config

* Run simulation in temp dir

* Store sim logs

* Increase circleci machine type

* Extract reflect contract api into helper

* Add execute msg to simulations

* Embed refect wasm contract

Co-authored-by: Pino' Surace <[email protected]>
conorpp pushed a commit to wormhole-foundation/wasmd that referenced this pull request Sep 2, 2022
* Fix wasm simulations + make functions compatible with tgrade

* Fix lint issues

* Fix simulation setup

* Make simulations store msg pass

* Use default values params to make operations succeed

* Normalize wasm store

* Add simulations to circleci config

* Run simulation in temp dir

* Store sim logs

* Increase circleci machine type

* Extract reflect contract api into helper

* Add execute msg to simulations

* Embed refect wasm contract

Co-authored-by: Pino' Surace <[email protected]>
@@ -8,7 +8,7 @@ import (

// RandomizeGenState generates a random GenesisState for wasm
func RandomizedGenState(simstate *module.SimulationState) {
params := RandomParams(simstate.Rand)
params := types.DefaultParams()

Choose a reason for hiding this comment

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

Why was it decided to use the same default parameters always?

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