keep-network / keep-core

The smart contracts and reference client behind the Keep network
https://keep.network
MIT License
119 stars 74 forks source link

Heartbeats: Notify operator inactivity on failure #3800

Closed tomaszslabon closed 4 months ago

tomaszslabon commented 6 months ago

Refs: https://github.com/keep-network/keep-core/issues/3796.

This PR enables notifying of operator inactivity failure after multiple failed heartbeats. The inactivity notification is executed after three consecutive heartbeat failures. A heartbeat is considered as failed if there was an error during message signing execution or the number of active signers was below a certain threshold. The operator inactivity notification is performed by inactivityClaimExecutor and is similar to the DKG result submission process.