When creating a DAO proposal, someone can enter very large values for the grace period or review start time. Although the frontend can make sure these values are not too large, the backend also needs to enforce it.
For the review start do not accept values that are more than 3 days in the future from the tx timestamp.
For the grace period do not accept values that are more than 30 days.
When creating a DAO proposal, someone can enter very large values for the grace period or review start time. Although the frontend can make sure these values are not too large, the backend also needs to enforce it.
For the review start do not accept values that are more than 3 days in the future from the tx timestamp.
For the grace period do not accept values that are more than 30 days.