Skip to content

Commit

Permalink
Add votingperiod param change
Browse files Browse the repository at this point in the history
  • Loading branch information
anilcse committed Feb 4, 2020
1 parent 50674b1 commit 50f15bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,13 @@ func NewXrnApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bo
delegation := stakingTypes.Delegation{
DelegatorAddress: addr,
ValidatorAddress: valAddr,
Shares: sdk.NewDec(100000000),
Shares: sdk.NewDec(100000000),
}

app.stakingKeeper.SetDelegation(ctx, delegation)

votingParams := gov.NewVotingParams(21600000000000)
govSubspace.Set(ctx, gov.ParamStoreKeyVotingParams, &votingParams)
})

// register the proposal types
Expand Down

0 comments on commit 50f15bd

Please sign in to comment.