-
Notifications
You must be signed in to change notification settings - Fork 12
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 cross-bond/unbond process #124
Comments
Could be missing something, but the cross-bonding improvements seem to already be there. This seems to error on an attempt to stake when the validator state is anything other than active, so as long as the states are synced up, it should work? |
Yes, you're right. |
The only way I figured out how to do this is to:
This feels like complexity, storage and communication overhead for a rather minor feature. Wouldn't a better place for this sort of thing be in some off-chain service, assuming this is something Osmosis really wants? For other cases, unstaking is a 2-step process anyway (as far as contracts are concerned). |
Is this possible in all scenarios when a validator is marked |
|
Yeah, but they could fall out of the valset because a threshold changed or something like that, I think? |
Yes. But in that moment, they are |
No. I was worried it's possible to have a validator state change to |
I see. This is something that will in the end require testing / fine tuning over a real Consumer blockchain. At this point, we're assuming that funds will be there, and the unbonding process will simply release them without delay in the case of validators that are In the 'unbonded' state. |
We've talked in depth with Mauro and I think I finally have a grasp on this. For the third point, what we really need to do is test how the staking module behaves in the wild (does it only release immediately the funds for tombstoned validators, or does it also perform a send?) and adjust tests/code accordingly. For now, it's pending. |
Yes. Created an issue for that, so that we don't forget about it: #154. |
Closed by #152 |
Closed by #152. |
Improve cross-bonding by:
Improve cross-unbonding by:
The text was updated successfully, but these errors were encountered: