Skip to content

Conversation

@arr00
Copy link
Contributor

@arr00 arr00 commented Nov 7, 2025

No description provided.

@cla-bot cla-bot bot added the cla-signed label Nov 7, 2025
function _setUnstakeCooldownPeriod(uint256 unstakeCooldownPeriod_) internal {
require(unstakeCooldownPeriod_ != 0, InvalidUnstakeCooldownPeriod());
function _setUnstakeCooldownPeriod(uint48 unstakeCooldownPeriod_) internal {
require(unstakeCooldownPeriod_ != 0 && unstakeCooldownPeriod_ <= 365 days, InvalidUnstakeCooldownPeriod());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the rational behind putting this limit of one year?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any suggestion on a limit is good. We just wanted to limit to something so that the admin can't increase arbitrarily and lock all tokens.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We think one year is reasonable, were just curious on why this was set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants