cosmos-sdk/schema/testing/statesim/options.go
Aaron Craelius e7844e640c
feat(schema): testing utilities (#20705)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-31 06:58:30 +00:00

10 lines
427 B
Go

package statesim
// Options are options for object, module and app state simulators.
type Options struct {
// CanRetainDeletions indicates that the simulator can retain deletions when that flag is enabled
// on object types. This should be set to match the indexers ability to retain deletions or not
// for accurately testing the expected state in the simulator with the indexer's actual state.
CanRetainDeletions bool
}