Currently we run into a situation where a lot of the accounts have most of their money drained, since most actions are purely random and deplete them by 50%. This is a bad situation, so I think lowering most things that subtract money to like subtract say 10% is important.
Yeah this is cool it's like a "simulation profile" we should document these profiles too
Also we should make the likelihood ratios of particular messages also initially randomized (presently they're constant).
Ok taking a look at this and I have a couple of questions:
MsgDelegate, MsgBeginRedelegatesimulation.Account (as @ValarDragon suggests) in a []Delegation. What should that object look like?MsgDelegate, MsgBeginUnbonding and MsgBeginRedelegateMsgBankSend:SimulateMsg* functions all return functions that look like: func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context,
accs []simulation.Account, event func(string)) (
action string, fOp []simulation.FutureOperation, err error) {}
@jackzampolin In order:
Is this proposal still relevant? If so, could we put it out of the backlog as it feels that this could help better guide our ai-driven search for vulnerabilities via the sim. Thanks ;-)
Yes I think so @npinto
I think @fedekunze took care of a number of these with his latest refactor. Going to go ahead and close this addressed.
Most helpful comment
@jackzampolin In order: