Slashing/jailing naming refactors are needed #706
Labels
S: Productivity
Productivity: Developer tooling, infrastructure improvements enabling future growth
type: refactoring
Code refactoring
type: tech-debt
Slows down development in the long run
Problem
Last minute changes like #692 have made a lot of the semantics around slashing/jailing outdated. We should revisit these naming semantics once the future plans for slashing, untrusted consumers, etc. are more ironed out.
Closing criteria
Naming semantics around slashing/jailing are properly refactored.
Problem details
HandleSlashPacket
now only handles downtime packets, and mainly just jails a validator. It could be renamed toHandleDowntimeSlashPacket
,JailFromDowntimePacket
, etc.. something that can now be more descriptiveSlashMeter
is really a "jail meter". We're limiting validator jailings over time, not slashingSlashPackets
are no longer used to enforce slashing, they're used to either log, or jail.InfractionPacket
could be appropriate hereThe text was updated successfully, but these errors were encountered: