feat: add moduleStateCb to allow access moduleState in sim test (#15903)

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
mmsqe
2023-04-24 13:06:34 +00:00
committed by GitHub
co-authored by Julien Robert
parent 3030cc4c14
commit 4d41a87a36
3 changed files with 33 additions and 17 deletions
-5
View File
@@ -177,11 +177,6 @@ type AppStateFn func(r *rand.Rand, accs []Account, config Config) (
appState json.RawMessage, accounts []Account, chainId string, genesisTimestamp time.Time,
)
// AppStateFnWithExtendedCb returns the app state json bytes and the genesis accounts
type AppStateFnWithExtendedCb func(r *rand.Rand, accs []Account, config Config) (
appState json.RawMessage, accounts []Account, chainId string, genesisTimestamp time.Time,
)
// RandomAccountFn returns a slice of n random simulation accounts
type RandomAccountFn func(r *rand.Rand, n int) []Account