-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
simulation: use module accounts #8818
Comments
Clarifying the scope of this task:
|
@alexanderbez is what @robert-zaremba outlined accurate? |
@aaronc - I discussed about this with @alexanderbez in a chat (the post above is almost a copy-past of a summary). |
I can start working on it |
|
you have to use module accounts, not randomAccounts and yes, the tests should fail when using module accounts |
Thanks Andrei |
PS: you should just add 1-2 tests which will use a module account. |
Currently, simulation discards module accounts from the global set of accounts which are used for simulation operations (i.e. txs/msgs). However, this is not ideal because it removes a certain area of simulation/test coverage.
Namely, at the very least, we should be using module accounts as a recipient of
MsgSend
andMsgMultiSend
operations so we can cover these cases, i.e. these operations should fail.If it can be attempted on the hub or any live network, it should be able to be attempted in simulations.
For Admin Use
The text was updated successfully, but these errors were encountered: