Finding the longest attestation slot gap
Find the best slot gap to avoid missing any validator duties.
Last updated
Find the best slot gap to avoid missing any validator duties.
Last updated
Your validators are assigned duties to attest and propose blocks.
Understanding the schedule of your validator's duties better, you can find the best time to plan consensus/execution client updates, system reboots or outages.
Since the Altair Hard Fork, checking sync committee membership is a must before performing any maintenance. This will give you up to in case your validators have been selected for sync committee duties.
python3
validator index number(s) -- Lookup on or
Works with Lighthouse / Teku / Prysm currently
Kudos to pietjepuk2 on Discord for authoring this process.
1. Install python3
3. Enter your validator index numbers as parameters to the python script.
Sample Output showing the longest gap in seconds, # of slots and time range.
Longest gap (first):
120.0 seconds (10 slots), from 13:37:35 until 13:39:35
This version does not include block proposals, although the odds of having one scheduled are really low of course.
Block proposal duties are only known for the current epoch, whereas attestation duties are known for the current and next one.
Nice work. Now you now the best gap to avoid missing any validator duties.
Congrats on completing the guide. ✨
2. Download 's get_validator_duties.py
python script.
Troubleshooting:
Script Usage Caveats: