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

REFACTOR: Added status flags #55

Merged
merged 7 commits into from
Jul 17, 2024
Merged

Conversation

coachchucksol
Copy link
Contributor

  • Added status flags for better tracking of the state machine
  • Fixed issue on new epoch not being able to reset state to idle

@coachchucksol coachchucksol requested a review from ebatsell July 16, 2024 20:41
pub const COMPUTE_DELEGATIONS: u32 = 1 << 1;
pub const EPOCH_MAINTENANCE: u32 = 1 << 2;
pub const PRE_LOOP_IDLE: u32 = 1 << 3;
pub const COMPUTE_INSTANT_UNSTAKES: u32 = 1 << 4;
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: COMPUTE_INSTANT_UNSTAKE to be aligned with the instruction name

Christian Krueger added 2 commits July 17, 2024 10:08
@coachchucksol coachchucksol merged commit be2fa23 into steward-test-branch Jul 17, 2024
6 checks passed
@coachchucksol coachchucksol deleted the christian/flags branch July 17, 2024 16:25
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.

2 participants