-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Staking] Remove delays for bond_more #1044
Conversation
@@ -160,15 +158,9 @@ where | |||
Action::ScheduleCandidateBondLess => { | |||
Self::schedule_candidate_bond_less(input, context)? | |||
} | |||
// DEPRECATED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should these still be deprecated or were they not supposed to be deprecated in the first place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is no longer deprecated because candidate_bond_more name and behavior did not change
I'm building on the benchmarking server to get proper weights, FYI |
Removes the delay for {candidate, delegator}_bond_more so that the increase is executed immediately, like before #810
Rationale
Increasing stake is similar to joining {candidates, delegators} so no delay is necessary. The delay for bond_less is more consistent with the delay on {revoke, leave}
No migration necessary because #810 was never deployed to any networks