-
Notifications
You must be signed in to change notification settings - Fork 49
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
Staking pallet #146
Comments
I believe this also includes supporting slashing as I believe that's offered via staking. |
Immediately, slashing at least needs to be moved to a |
It now prints an error message and returns. |
Reviewing the staking pallet, we can use:
Can't use:
I talked with @TheArchitect108 and I'll put forth a minimal staking pallet. Then I'll continue work on the validator-sets branch. |
https://github.com/serai-dex/serai/tree/staking has a pallet offering Stake, DPoS (technically. You can't undelegate from an active validator, forcing them to churn out, making it decently unsafe), and Unstake. It still needs:
Rewards will probably be done elsewhere for us. To be a bit more elaborate on slashing, there's two ways to do so.
The latter is far more inefficient, yet also more comprehensive. We slash if a validator fails to propose. We can't create a permanent, cryptographic proof of them being malicious there. Accordingly, we need the latter. Since we need the latter,, it can be the only option we do. Then all events which could be under the former can just be under the latter for now. |
Slashing will be moved to #164. |
TODO:
|
Closing a dated issue with merging of initial pallet in #373. |
Right now, consensus is wired to use
session
, yet the validators are unweighted.staking
looks suitable to me, so this issue is two fold:The former refers to the tendermint pallet and providing weight data to the machine. The latter refers to being able to stake within Serai.
The text was updated successfully, but these errors were encountered: