- Slashing SBP (Slashable Borrow Positions) for detected liveness or corruption issues associated with software related to a service provider
- Kicking node operators with balances less than 32 ETH
Spinning up the reporter
Installing dependencies
Yarn is the default package manager and therefore it’s as simple as:Compiling
Triggering the typescript compiler can be done withConfiguring your environment
Before running the reporter, the environment needs to be set up. The following parameters are important to the reporter:- Middleware API Endpoint
- Execution layer Node URL
Running
The reporter can be run in development mode which will monitor files for changes and re-start the server. To do that run:Automatically doing liveness checks
After building and running the server, the following script can be run to automatically check for liveness issues:Overriding the debtor
Multiple SBPs taken out for the same type of re-staking application which share a common middleware instance will require a debtor address override (owner of the SBP) when slashing the SBP position. ThecheckLiveness
function in the liveness-scan
script covers how to do this and interact with the liveness API:
Scanning for kick-able proposers (from K2 protocol)
Proposers that do not maintain32 ether
as an effective balance AND have natively delegated to K2 are not
eligible for continuous native delegation.
In order to check if any natively delegated proposers have violated this protocol rule, we can use the K2 reporter.
As above, make sure the reporter has been started: