-
Notifications
You must be signed in to change notification settings - Fork 404
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
Fix wasm simulations #870
Conversation
c7f7158
to
b4fc6e9
Compare
simulations: | ||
executor: golang | ||
parallelism: 1 | ||
resource_class: large |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this 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 💯
* 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]>
* 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() |
There was a problem hiding this comment.
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?
Fix wasmd simulations so that there are not operations failing during simulations.
Update MsgStoreCode simulation
Update MsgInstantiateContract simulation
Add MsgExecute simulation
Replaces #856