Skip to content
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

fix: unlocked cycle upcoming state #4193

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Conversation

tomquirk
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Jan 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated (UTC)
juice-interface ⬜️ Ignored (Inspect) Jan 15, 2024 3:41am
juice-interface-goerli ⬜️ Ignored (Inspect) Jan 15, 2024 3:41am

Comment on lines +85 to +93
hasPendingConfiguration:
/**
* If a cycle is unlocked, it may have a pending change.
* The only way it would, is if the ballot state of the latestConfiguredFC is `approved`.
*/
cycleUnlocked &&
typeof ballotState !== 'undefined' &&
ballotState !== null &&
ballotState === BallotState.approved,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the key

@tomquirk tomquirk merged commit 829f597 into main Jan 15, 2024
4 checks passed
@tomquirk tomquirk deleted the tomquirk/uncloicked-cycle-upcoming branch January 15, 2024 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant