TruStory / truchain

⛓ A crypto-incentivized debate community
http://www.trustory.io
Other
33 stars 14 forks source link

User should not be able to both slash and stake an argument #751

Open truted opened 5 years ago

truted commented 5 years ago
shanev commented 5 years ago

We are handling this on the client side, but will be good to get this in at some point.

shanev commented 5 years ago

To make this work, we have to generalize the slashing module (add expected keepers, interfaces, exported types and aliases). Then staking can depend on slashing, and slashing can depend on staking without cyclic dependencies.