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: handle slashed case in stats #208

Merged
merged 3 commits into from
Jan 24, 2025
Merged

Conversation

gusin13
Copy link
Contributor

@gusin13 gusin13 commented Jan 24, 2025

Fixes - #201

// Both slashed and unbonding events are pushed into the unbonding queue since they affect
// the same stats. We use the same stats lock key to prevent double counting when both events
// occur.
// TODO: Consider using a separate queue for slashed events to avoid confusion, in that case
Copy link
Collaborator

@jrwbabylonlab jrwbabylonlab Jan 24, 2025

Choose a reason for hiding this comment

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

@gusin13 could u create a ticket to track?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure
#209

@jrwbabylonlab jrwbabylonlab merged commit c4d42a1 into main Jan 24, 2025
14 checks passed
@jrwbabylonlab jrwbabylonlab deleted the 201-discrepancy-in-stats-count branch January 24, 2025 13:38
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