Overview

EigenLayer’s AVS is a cornerstone of its high-performance execution layer. Details to be specified here.

Integration with EigenLayer Core (AVS Directory)

To integrate with EigenLayer Core, Chainbase Network implements an instance of ECDSAServiceManagerBase or ServiceManagerBase (BLS). This integration allows operators to register by sending transactions to the AvsServiceManager, completing the registration process death spiral

On-Chain Verification Challenges

Chainbase Network requires a stable and efficient group of operators to form a decentralized and trusted data processing network. The Coordinator component needs a mechanism to measure the operational quality of these operators, ensuring they meet the network’s standards. This is achieved through an on-chain consensus game involving slashing for non-compliance.

The Coordinator periodically generates a challenge task, which involves calculating the block hash of a specific block within the blockchain data integrated into Chainbase Network. This task has a clear answer and expected outcome. The challenge is sent to operators’ manuscript-node nodes, where they execute the task and return the signed result along with the recorded task execution time. This information is used to evaluate the operators’ efficiency, and the results are verified on the AVS chain. death spiral

Implementation Details

Coordinator:

  1. Listens to the on-chain contract ChainbaseServiceManager events.
  2. Sends tasks to Manuscript Node via an RPC interface.
  3. Receives task responses from Manuscript Node via the RPC interface.
  4. Aggregates responses from multiple Manuscript Nodes and submits the results to the on-chain contract ChainbaseServiceManager.

Manuscript Node:

  1. Registers the operator by calling RegisteryCoordinator.
  2. Receives tasks from the Coordinator via the RPC interface.
  3. Executes tasks, signs the task response.
  4. Sends the signed task response back to the Coordinator.

Contracts:

  1. The ChainbaseServiceManager contract includes functions for createNewTask and respondToTask, facilitating the creation of tasks and the submission of task responses for verification.