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

Race condition with unbonding messages #1200

Open
joe-bowman opened this issue Feb 27, 2024 · 0 comments
Open

Race condition with unbonding messages #1200

joe-bowman opened this issue Feb 27, 2024 · 0 comments

Comments

@joe-bowman
Copy link
Contributor

We are able to unbond 7 times per unbonding period, hence the 3 day epoch (this works for most networks).

However, a race condition exists where the first unbonding to trigger for Epoch 7 is sent, before the final unbonding tx is completed for epoch, causing a failure.

We should observe the completion time of the unbond records for 7 epochs ago, and use this to trigger unbonding messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant