Setup Internal Tasks
Internal Tasks are consensus-based modules for ongoing maintenance of the AVS network.
This guide will walk you through configuring and running the following Internal Tasks:
Prerequisites
1
2
Configure Internal Task Frequency
Set the INTERNAL_TASKS
environment variable with a JSON array that defines the execution interval for each internal task.
Example Configuration:
INTERNAL_TASKS='[
{ "name": "VOTING_POWER_SYNC", "interval": 3600000 },
{ "name": "VOTING_POWER_PER_TASK_DEFINITION_SYNC", "interval": 3900000 }
]'
Default interval:
3600000
ms (1 hour)Minimum allowed interval:
60000
ms (1 minute)
3
4
Setup Restricted Operator Set
Enforce successful Internal Tasks execution by specifying a set of trusted Operators.
Set this using:
otcli network set-restricted-attesters
Run above for all the Internal tasks.
Last updated