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

[babylon] Handle the early unbonding transaction #2778

Open
jolestar opened this issue Oct 17, 2024 · 2 comments
Open

[babylon] Handle the early unbonding transaction #2778

jolestar opened this issue Oct 17, 2024 · 2 comments
Labels
area:babylon Babylon intregration relative issues area::bitcoin proposal New external API or other notable changes
Milestone

Comments

@jolestar
Copy link
Contributor

Proposal Details

The staking UTXO can be spent before the time lock via early unbonding, we need to handle it.
When the UTXO is spent, we should remove the BBNStakeSeal object.

babylonlabs-io/staking-indexer#27

@jolestar jolestar added area::bitcoin proposal New external API or other notable changes area:babylon Babylon intregration relative issues labels Oct 17, 2024
@jolestar jolestar added this to the Rooch v0.9 milestone Oct 17, 2024
@jolestar jolestar added this to Rooch Oct 17, 2024
@jolestar jolestar modified the milestones: Rooch v0.9, Rooch v0.8 Oct 17, 2024
@mx819812523
Copy link
Collaborator

can we temporarily useBBNStakeSeal.txid and BBNStakeSeal.staking_output_index call object::exists_object_with_type<UTXO> to check BBNStakeSeal is effective?

@jolestar
Copy link
Contributor Author

Yes, we can provide a function to check UTXO and remove the BBNStakeSeal. After the Babylon mainnet is ready, we design an automated processing mechanism to clear the expired BBNStakeSeal.

@jolestar jolestar modified the milestones: Rooch v0.8, Rooch v0.9 Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:babylon Babylon intregration relative issues area::bitcoin proposal New external API or other notable changes
Projects
Status: No status
Development

No branches or pull requests

2 participants