-
Notifications
You must be signed in to change notification settings - Fork 13
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
Bug milestone round #215
Bug milestone round #215
Conversation
@@ -206,7 +209,11 @@ impl<T: Config> Pallet<T> { | |||
let expiry_block = frame_system::Pallet::<T>::block_number() | |||
.saturating_add(<T as Config>::NoConfidenceTimeLimit::get()); | |||
|
|||
Rounds::<T>::insert(project_key, RoundType::VoteOfNoConfidence, expiry_block); | |||
Rounds::<T>::insert( | |||
(project_key, 0), |
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.
What happens if the round of no confidence is raised after milestone 0 has been approved?
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.
They're indépendant of each other due to the use of the round type key so we will be all good there :)
#214