Skip to content

Commit df0e1eb

Browse files
test: fix unsafe-start-local-validator command (#3375) (#3376)
* clear provider state Co-authored-by: Dusan Maksimovic <[email protected]> --------- Co-authored-by: Dusan Maksimovic <[email protected]> (cherry picked from commit f3220aa) Co-authored-by: Stana Miric <[email protected]>
1 parent 2dba9d4 commit df0e1eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/gaiad/cmd/testnet_set_local_validator.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,10 @@ func updateApplicationState(app *gaia.GaiaApp, args valArgs) error {
266266

267267
app.SlashingKeeper.SetValidatorSigningInfo(appCtx, newConsAddr, newValidatorSigningInfo)
268268

269+
// PROVIDER
270+
app.ProviderKeeper.DeleteLastProviderConsensusValSet(appCtx)
271+
272+
// GOVERNANCE
269273
shortVotingPeriod := time.Second * 20
270274
expeditedVotingPeriod := time.Second * 10
271275
params, err := app.GovKeeper.Params.Get(appCtx)

0 commit comments

Comments
 (0)