Skip to content

Commit

Permalink
fix: reduce gov time to test more deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
dongsam committed Jan 26, 2022
1 parent 1ba8982 commit e1fb419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/liquidity/client/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (s *IntegrationTestSuite) SetupTest() {

genesisStateGov := govtypes.DefaultGenesisState()
genesisStateGov.DepositParams = govtypes.NewDepositParams(sdk.NewCoins(sdk.NewCoin(cfg.BondDenom, govtypes.DefaultMinDepositTokens)), time.Duration(15)*time.Second)
genesisStateGov.VotingParams = govtypes.NewVotingParams(time.Duration(5) * time.Second)
genesisStateGov.VotingParams = govtypes.NewVotingParams(time.Duration(3) * time.Second)
genesisStateGov.TallyParams.Quorum = sdk.MustNewDecFromStr("0.01")
bz, err := cfg.Codec.MarshalJSON(genesisStateGov)
s.Require().NoError(err)
Expand Down

0 comments on commit e1fb419

Please sign in to comment.