Terra: Validator Slashing
This dashboard looks at validator slashing on Terra in the last year and look at the severity in terms of the number of funds that were lost due to slashing.
Okay, that seems to bring me to a point where I don't think there is that much more value I can extract from the data around validator slashing. Let's summarise our findings below:
- We found that 68 slashes have taken place over the last year.
- The total amount of LUNA slashed is about 4.5k (assuming our parameters are correct).
- We saw that some validators were repeat offenders and a number of slashed validators had very little stake (might also not be validators in the ecosystem anymore).
- We also saw that March 31st saw a large number of slashings with multiple validators getting slashed once.
Looks like March was a pretty normal month till the 30th with 6 slashing but then 7 more slashes happened on the 31st taking the number of slashes to 13. The reason for this is unclear although I've been told it had something to do with oracles and the reward band being too tight. I'd be pretty confident in saying that a one-off event caused a number of validators to get slashed together so the reward band being too tight seems like it would be a fair one. So although it seems like the number of slashing per month have not gone down as Terra has matured they have become relatively consistent at 4-6 a month (which. is not too bad).
There doesn't seem to be a pattern connecting the maturity of the ecosystem. March which is right in the middle of the analysis period had the most slashings with 13. Let's see why that was:
So, 49/68 slashes have occurred for validators who are validators on Terra today. Meaning, 19 of the slashes happened for validators who are defunct now. For most of the prominent validators who got slashed the slashing was a very small % of their stake so I am assuming they could continue to function without many issues. Other validators who were trying to provide a service or self-stake possibly dropped out due to them being slashed and failing to provide the kind of validation services the blockchain needs.
Next, let's look at slashing by months to see if slashing has reduced as Terra has matured:
Looks like DLINODES likes being slashed a lot having been slashed 10 times! Kysen, who have lost the highest LUNA to slashing have also been slashed 4 times!
Now, let's look at how many of the validators who have been slashed are still validators (by looking at if they have label in the validator_labels
table):
As we can see, most of the validators that have been slashed haven't been slashed for that much. Only 11 validators have lost more than 10 LUNA total and 7 validators have lost more than 100 LUNA total. It also looks like no validator with a meaningful stake has been slashed for a sizeable portion of their stake. StakingMom had 5% of its stake slashed but it only had 64 LUNA staked.
Let's also look at the number of times each validator has been slashed:
Looks like the larger slashes have been in the range of 300 LUNA range with the top 6 slashes being by the same two validator addresses (probably due to unreliable service). Also, looks like a lot of the unreliable validators aren't validators anymore (due to a lack of label in their validator labels). For example, the validator that lost 150 LUNA due to a double sign isn't a validator anymore due to being tombstoned (on page 3 of the table above).
Next, let's look at how many total LUNA has been lost by the top slashed validators:
Hmm, so there have been only 70 slashing transactions over the last 1 year (which seems pretty good considering the number of blocks, validators and days in consideration). Let's take a look at what the reasons for slashing largely were:
So about 4.490.31 LUNA has been lost to slashing! That's approximately 36,000 UST considering the price of LUNA to be ~ 8 UST.
Next, let's break down the amount of LUNA slashed by validator and slashing event to find some of the largest offenses:
Looks like missing_signature is the biggest cause of validator slashing. This is possibly because of validator downtime. There have also been two instances of double signing (which is much worse than missing signatures and leads to validators being tombstoned). Let's now use the terra docs to find how much slashing takes place per offence (link: https://docs.terra.money/dev/spec-slashing.html#downtimejailduration):
- Downtime Slash Ratio (assuming this is pertaining to missing signatures): 0.0001
- Double Sign Slash Ratio: 0.05
We use the power of a validator provided in the slashing message (mentioned as power
in event_attributes
) and multiply it with the slashing ratio. Doing this we get the amount of LUNA slashed as:
First let's look at how many slashing transactions have taken place over the last 12 months: