github.com/Finschia/finschia-sdk@v0.48.1/types/simulation/config.go (about)

     1  package simulation
     2  
     3  // Config contains the necessary configuration flags for the simulator
     4  type Config struct {
     5  	GenesisFile string // custom simulation genesis file; cannot be used with params file
     6  	ParamsFile  string // custom simulation params file which overrides any random params; cannot be used with genesis
     7  
     8  	ExportParamsPath   string // custom file path to save the exported params JSON
     9  	ExportParamsHeight int    // height to which export the randomly generated params
    10  	ExportStatePath    string // custom file path to save the exported app state JSON
    11  	ExportStatsPath    string // custom file path to save the exported simulation statistics JSON
    12  
    13  	Seed               int64  // simulation random seed
    14  	InitialBlockHeight int    // initial block to start the simulation
    15  	NumBlocks          int    // number of new blocks to simulate from the initial block height
    16  	BlockSize          int    // operations per block
    17  	ChainID            string // chain-id used on the simulation
    18  
    19  	Lean   bool // lean simulation log output
    20  	Commit bool // have the simulation commit
    21  
    22  	OnOperation   bool // run slow invariants every operation
    23  	AllInvariants bool // print all failed invariants if a broken invariant is found
    24  }