-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fast-unstake: decouple from nomination pools + staking #12337
Comments
I am going to attempt this. |
@Szegoo not recommended, as we're doing a lot of development on this and it might change. I'd recommend sticking to |
With the way fast-unstake is currently using pallet-staking Storage/Constants/Methods it seems like What we would need to do for full decoupling:
One of the options is incorporating all the storage/constant calls as methods in the StakingInterface. |
All of the above can reasonably be added to The slashing span thing can be abstracted away and should be dealt with purely on the staking side. We need that value only for weighing anyhow. I am not saying we should YOLO it and tweak |
The first draft of this pallet was written with the tight coupling approach for the sake of simplicity.
StakingInterface
as a proxy into a staking pallet.If we happen to want to still support pool join, we can either:
opaque: Vec<u8>
data to the fast-unstake pallet, which is later on forwarded through some hook to nomination pools, and decoded aspool_id
. Still, very very janky.fast-unstake-and-join-pools
.The text was updated successfully, but these errors were encountered: