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 setupFastConfirmation not getting called #2668

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

PlasmaPower
Copy link
Collaborator

The core bug this PR fixes is in Staker's Initialize method where setupFastConfirmations wasn't getting called. This PR also gets rid of the staker's enableFastConfirmation field because it should always be equal to the corresponding config value, and adds extra log lines to clarify what's going on with fast confirmations.

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Sep 12, 2024
Copy link
Member

@joshuacolvin0 joshuacolvin0 left a comment

Choose a reason for hiding this comment

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

LGTM

@PlasmaPower PlasmaPower merged commit bf1fe94 into master Sep 13, 2024
14 checks passed
@PlasmaPower PlasmaPower deleted the fix-setup-fast-confs-not-called branch September 13, 2024 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design-approved s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants