Implement a function that periodically checks the health of the RPC node configured in .env; in light of recent errors caused by IBP nodes resyncing. When an issue is flagged, e-mail the administrator.
The following error was caused when autonomous_voting was running. One of the steps to determine the age of a proposal is to check when it was proposed by grabbing the timestamp using Timestamp.Now().
substrateinterface.exceptions.SubstrateRequestException: {'code': 4003, 'message': 'Client error: Api called for an unknown Block: State already discarded for 0xc0e405cc3f51b1d61f689a384f022b24409dca9b0d589661f64e4260ebb96b38'}