Skip to content

Commit

Permalink
exhaustruct fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kpeluso committed Oct 22, 2024
1 parent 619a431 commit 7c41fb8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions cmd/allorad/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ import (
"github.com/allora-network/allora-chain/app"
)

const (
valVotingPower int64 = 900000000000000
)

var (
flagAccountsToFund = "accounts-to-fund"
)
Expand Down Expand Up @@ -267,8 +263,11 @@ func initAppForTestnet(app *app.AlloraApp, args valArgs) *app.AlloraApp {

if args.upgradeToTrigger != "" {
upgradePlan := upgradetypes.Plan{
Name: args.upgradeToTrigger,
Height: app.LastBlockHeight() + 10,
Name: args.upgradeToTrigger,
Height: app.LastBlockHeight() + 10,
Info: "",
Time: time.Time{},
UpgradedClientState: nil,
}
err = app.UpgradeKeeper.ScheduleUpgrade(ctx, upgradePlan)
if err != nil {
Expand Down

0 comments on commit 7c41fb8

Please sign in to comment.