Skip to content

Commit f9c290f

Browse files
authored
Merge PR #3957: Remove requirement that deposit period and voting period linked
1 parent 160928b commit f9c290f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

x/gov/genesis.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,6 @@ func ValidateGenesis(data GenesisState) error {
9292
veto.String())
9393
}
9494

95-
if data.DepositParams.MaxDepositPeriod > data.VotingParams.VotingPeriod {
96-
return fmt.Errorf("Governance deposit period should be less than or equal to the voting period (%ds), is %ds",
97-
data.VotingParams.VotingPeriod, data.DepositParams.MaxDepositPeriod)
98-
}
99-
10095
if !data.DepositParams.MinDeposit.IsValid() {
10196
return fmt.Errorf("Governance deposit amount must be a valid sdk.Coins amount, is %s",
10297
data.DepositParams.MinDeposit.String())

0 commit comments

Comments
 (0)