Skip to content

Commit

Permalink
test: fix unsafe-start-local-validator command (#3375) (#3376)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
mergify[bot] and stana-miric authored Oct 4, 2024
1 parent 2dba9d4 commit df0e1eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/gaiad/cmd/testnet_set_local_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ func updateApplicationState(app *gaia.GaiaApp, args valArgs) error {

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

// PROVIDER
app.ProviderKeeper.DeleteLastProviderConsensusValSet(appCtx)

// GOVERNANCE
shortVotingPeriod := time.Second * 20
expeditedVotingPeriod := time.Second * 10
params, err := app.GovKeeper.Params.Get(appCtx)
Expand Down

0 comments on commit df0e1eb

Please sign in to comment.