As many of you know, yesterday the validator chat realized that the current VotingPeriod for proposals is 200 blocks. That gives validators around 20 minutes before they get slashed for not voting. We all can agree that this is a bug and that the VotingPeriod needs to be adjusted. But for now, we created some scripts to solve the problem in the mean time.
I wrote a script that allows you to receive a SMS once a new proposal is found. Something like this can be useful in mainnet as well, so you don’t miss new proposals. Since this script is not voting automatically, it can be run on any node (eg. a public sentry node)
The script can be found here. I recommend running it in a screen. In order to be alerted you need to pass a phone number to the script. You need to attach a country code (Germany would be +49) but without the “+” sign in the beginning. Here is an example how you would execute the script correctly:
source propsal_alert.sh 491631234123
If you don’t want to be alerted of a new proposal but just autovote (this is for testnet, not for a live network), rickg from BaryonNetwork posted a nice autovoting script. You can find that here. Since this script is actually voting for you (it always votes yes), it needs to run on the node with the keys (probably your validator node…).
If you have any questions or suggestions, feel free to post them below.