@@ -93,7 +93,7 @@ func TestFullAppSimulation(t *testing.T) {
9393 config := simcli .NewConfigFromFlags ()
9494 config .ChainID = SimAppChainID
9595 config .BlockMaxGas = SimBlockMaxGas
96- db , dir , logger , skip , err := simtestutil .SetupSimulation (config , "leveldb-app-sim" , "Simulation" , simcli .FlagVerboseValue , simcli .FlagEnabledValue )
96+ db , dir , logger , skip , err := simtestutil .SetupSimulation (config , "leveldb-app-sim" , "Simulation" , simcli .FlagVerboseValue , simcli .FlagEnabledValue ) //nolint: staticcheck
9797 if skip {
9898 t .Skip ("skipping application simulation" )
9999 }
@@ -135,7 +135,7 @@ func TestAppImportExport(t *testing.T) {
135135 config := simcli .NewConfigFromFlags ()
136136 config .ChainID = SimAppChainID
137137 config .BlockMaxGas = SimBlockMaxGas
138- db , dir , logger , skip , err := simtestutil .SetupSimulation (config , "leveldb-app-sim" , "Simulation" , simcli .FlagVerboseValue , simcli .FlagEnabledValue )
138+ db , dir , logger , skip , err := simtestutil .SetupSimulation (config , "leveldb-app-sim" , "Simulation" , simcli .FlagVerboseValue , simcli .FlagEnabledValue ) //nolint: staticcheck
139139 if skip {
140140 t .Skip ("skipping application import/export simulation" )
141141 }
@@ -179,7 +179,7 @@ func TestAppImportExport(t *testing.T) {
179179
180180 fmt .Printf ("importing genesis...\n " )
181181
182- newDB , newDir , _ , _ , err := simtestutil .SetupSimulation (config , "leveldb-app-sim-2" , "Simulation-2" , simcli .FlagVerboseValue , simcli .FlagEnabledValue )
182+ newDB , newDir , _ , _ , err := simtestutil .SetupSimulation (config , "leveldb-app-sim-2" , "Simulation-2" , simcli .FlagVerboseValue , simcli .FlagEnabledValue ) //nolint: staticcheck
183183
184184 require .NoError (t , err , "simulation setup failed" )
185185
@@ -229,7 +229,7 @@ func TestAppImportExport(t *testing.T) {
229229 stakingtypes .HistoricalInfoKey , stakingtypes .UnbondingIDKey , stakingtypes .UnbondingIndexKey , stakingtypes .UnbondingTypeKey , stakingtypes .ValidatorUpdatesKey ,
230230 },
231231 }, // ordering may change but it doesn't matter
232- {app .keys [slashingtypes .StoreKey ], newApp .keys [slashingtypes .StoreKey ], [][]byte {}},
232+ {app .keys [slashingtypes .StoreKey ], newApp .keys [slashingtypes .StoreKey ], [][]byte {slashingtypes . ValidatorMissedBlockBitmapKeyPrefix }},
233233 {app .keys [minttypes .StoreKey ], newApp .keys [minttypes .StoreKey ], [][]byte {}},
234234 {app .keys [distrtypes .StoreKey ], newApp .keys [distrtypes .StoreKey ], [][]byte {}},
235235 {app .keys [banktypes .StoreKey ], newApp .keys [banktypes .StoreKey ], [][]byte {banktypes .BalancesPrefix }},
@@ -260,7 +260,7 @@ func TestAppSimulationAfterImport(t *testing.T) {
260260 config := simcli .NewConfigFromFlags ()
261261 config .ChainID = SimAppChainID
262262 config .BlockMaxGas = SimBlockMaxGas
263- db , dir , logger , skip , err := simtestutil .SetupSimulation (config , "leveldb-app-sim" , "Simulation" , simcli .FlagVerboseValue , simcli .FlagEnabledValue )
263+ db , dir , logger , skip , err := simtestutil .SetupSimulation (config , "leveldb-app-sim" , "Simulation" , simcli .FlagVerboseValue , simcli .FlagEnabledValue ) //nolint: staticcheck
264264
265265 if skip {
266266 t .Skip ("skipping application simulation after import" )
@@ -310,7 +310,7 @@ func TestAppSimulationAfterImport(t *testing.T) {
310310
311311 fmt .Printf ("importing genesis...\n " )
312312
313- newDB , newDir , _ , _ , err := simtestutil .SetupSimulation (config , "leveldb-app-sim-2" , "Simulation-2" , simcli .FlagVerboseValue , simcli .FlagEnabledValue )
313+ newDB , newDir , _ , _ , err := simtestutil .SetupSimulation (config , "leveldb-app-sim-2" , "Simulation-2" , simcli .FlagVerboseValue , simcli .FlagEnabledValue ) //nolint: staticcheck
314314 require .NoError (t , err , "simulation setup failed" )
315315
316316 defer func () {
@@ -344,15 +344,15 @@ func TestAppSimulationAfterImport(t *testing.T) {
344344// TODO: Make another test for the fuzzer itself, which just has noOp txs
345345// and doesn't depend on the application.
346346func TestAppStateDeterminism (t * testing.T ) {
347- if ! simcli .FlagEnabledValue {
347+ if ! simcli .FlagEnabledValue { //nolint: staticcheck
348348 t .Skip ("skipping application simulation" )
349349 }
350350
351351 config := simcli .NewConfigFromFlags ()
352352 config .InitialBlockHeight = 1
353353 config .ExportParamsPath = ""
354- config .OnOperation = false
355- config .AllInvariants = false
354+ config .OnOperation = false //nolint: staticcheck
355+ config .AllInvariants = false //nolint: staticcheck
356356 config .ChainID = SimAppChainID
357357 config .BlockMaxGas = SimBlockMaxGas
358358
0 commit comments