The Ethereum ecosystem has seen only 226 validators slashed since the launch of the Beacon Chain on Dec. 1, 2022 — amounting to just 0.04% of 524,060 validators, according to an Ethereum core developer. Slashing is a process where a validator breaches the proof-of-stake consensus rules, which often results in the removal of that validator from the network and slashing a portion of the staked Ether (ETH) that the validator provided as collateral.
Such slim odds of being slashed were highlighted by Ethereum core developer “Superphiz” in a Feb. 23 Twitter post, which suggests that people shouldn’t be concerned about staking ETH for that particular reason. Superphiz also explained “four emerging best practices” to reduce those odds even further. One of these practices was to wipe any existing chain data on old staking machines and to reinstall and reformat the validator where necessary, said Superphiz, noting that many slashings occur due to “failed systems migrations.”
The developer also suggested using “doppelganger detection” — which checks whether the validator’s keys are active before starting the validation process. While this can impact validator uptime, he explained that “perfect uptime” isn’t worth getting slashed in the grand scheme of things: “It’s wise to throw away $0.06 to save $1700. (A slashing costs about 1 Ether).” Superphiz then suggested watching buffers and logs on The Beacon Chain to become aware of any potential problems that may arise.
If something feels wrong, Superphiz suggested “unplugging everything” and to “come back” when the problem has been identified and a proposed solution is set in place. The developer also noted that over 150 of the 226 slashings have been caused by services rather than “home stakers.” Slashing can occur due to an “attestation” or a “proposal” violation, according to the Ethereum Foundation. An attestation violation is one where a malicious validator attempts to change the history of a block or “double votes” by attesting two candidates for the same block. A proposal violation occurs when a validator proposes and signs two different blocks for the same slot. The majority of slashing events have come from attestation violations, according to data from beaconcha.in.
One of the largest slashing events occurred on Feb. 4, 2021, when staking infrastructure provider “Staked” had 75 of its validators slashed for producing competing blocks. Staked said the attestation violation came about due to a “technical issue.” Since The Beacon Chain merged with the Ethereum proof-of-work chain on Sept. 15, only 35 of the total 226 slashings have taken place, according to beaconcha.in, which suggests that the Merge has not had a profound impact on slashing rates.
With about 16.7 million ETH staked (according to beaconcha.in) out of 120.4 million ETH currently in circulation (according to CoinGecko) — the percentage of ETH staked is about 13.9%. ETH can be staked on a centralized exchange, be delegated to an third-party validator network or be run on an independent node, which requires 32 ETH.
Despite the low number of slashings since the launch of the Beacon Chain, it is still important to take the necessary precautions to ensure your validator is not at risk of being slashed. Ethereum core developer Superphiz has highlighted four emerging best practices to help reduce the odds of being slashed.
The first is to wipe any existing chain data on old staking machines and to reinstall and reformat the validator where necessary. This is important as many slashings occur due to “failed systems migrations.” The second practice is to use “doppelganger detection” — which checks whether the validator’s keys are active before starting the validation process. This can impact validator uptime, but Superphiz suggests that “perfect uptime” isn’t worth getting slashed, so it is worth the risk.
The third practice is to watch buffers and logs on The Beacon Chain to become aware of any potential problems that may arise. If something feels wrong, Superphiz suggests “unplugging everything” and to “come back” when the problem has been identified and a proposed solution is set in place. The fourth practice is to be aware that over 150 of the 226 slashings have been caused by services rather than “home stakers.”
In conclusion, the number of slashings since the launch of the Beacon Chain has been low, but it is still important to take the necessary precautions to ensure your validator is not at risk of being slashed. By following the four best practices highlighted by Superphiz, it is possible to reduce the risk of being slashed even further.