Internal Tasks
Overview
Internal Tasks are consensus-based modules for ongoing maintenance of the AVS network. Each module is purpose-built for a specific function and is carried out by the AVS Operators.
Each internal task is:
Registered with a unique Task Definition ID
Validated by Attesters
Scheduled based on frequency configured via environment variables, which can vary depending on the operational requirements.
The execution and validation of internal tasks are facilitated by the same operator set and consensus engine used by the AVS, ensuring that they adhere to the same consensus standards as core AVS Tasks.


Whenever an internal task is executed, a proof of task is generated. The generated proof, along with task execution data, is broadcast internally to the P2P network. Attesters validate the execution by verifying the proof and recalculating expected outcomes.
Internal tasks are only supported for Task Definition IDs greater than 0. To use internal tasks, ensure that you have created and configured a Task Definition.
Usage
Guide: Configure Internal Tasks - step-by-step instructions to run Internal Tasks.
Types of Internal Tasks
1. Sync Voting Power
Task Definition ID: 10001
Task Name: VOTING_POWER_SYNC
The Operator's voting power is proportional to the amount of (re)stake assets locked to secure the AVS, and determine the influence of individual Operators over the consensus process.
Voting Power Calculation and Syncing Logic
Fetches the voting power from both L1 and L2
Computes the difference
Broadcasts a proposed voting power update to the P2P network.
Attesters validate the proposed update against recalculated values.
2. Voting Power Sync Per Task Definition
Task Definition ID: 10002
Task Name: VOTING_POWER_PER_TASK_DEFINITION_SYNC
This task synchronizes voting power specific to each task definition.
Last updated