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

Improve slashing spend core logic #68

Open
gusin13 opened this issue Nov 24, 2024 · 0 comments
Open

Improve slashing spend core logic #68

gusin13 opened this issue Nov 24, 2024 · 0 comments

Comments

@gusin13
Copy link
Collaborator

gusin13 commented Nov 24, 2024

@gitferry had suggested some improvements in the btc notifications in a previous chat few weeks ago.

Screenshot 2024-12-02 at 11 59 12 PM

Problem - Currently we register to btc notifications on certain triggers.

  • When indexer receives babylon event delegation expired - then we register spend notification for staking tx ref
  • When indexer receives babylon event early unbonding - then we register spend notification of unbonding tx ref

Ideally indexer should not wait for babylon events to register for spending, it should do this as soon as delegation becomes Active b/c of delays from vigilante/babylon.

Although imo our existing approach won't cause any missed notifications but we can sure make above improvements.

Slack conv (private might not be visible) - https://babylonlabsworkspace.slack.com/archives/D07DYV8DMEK/p1732174227378559

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

No branches or pull requests

1 participant