Skip to content

feat: devnet3 changes#110

Draft
ch4r10t33r wants to merge 6 commits intomainfrom
devnet3
Draft

feat: devnet3 changes#110
ch4r10t33r wants to merge 6 commits intomainfrom
devnet3

Conversation

@ch4r10t33r
Copy link
Contributor

@ch4r10t33r ch4r10t33r commented Feb 8, 2026

Summary

Add support for configuring attestation committee count and automatic aggregator selection for devnet3.

Key Features

1. Attestation Committee Count Configuration

  • Add attestation_committee_count parameter in validator-config.yaml (default: 1)
  • Automatically extracted and passed to all clients via --attestation-committee-count flag
  • Configurable at the network level in the config section

2. Automatic Aggregator Selection

  • Implements 1 aggregator per subnet model
  • Random selection by default: Automatically selects one random node as aggregator on startup
  • Manual override: Use --aggregator <node_name> flag to specify which node should be the aggregator
  • Automatically updates isAggregator flag in validator-config.yaml before starting nodes
  • All clients automatically receive --is-aggregator flag when designated as aggregator

3. Enhanced Configuration Management

  • isAggregator field added to all validators in both local and ansible configs
  • parse-vc.sh extracts and exports both isAggregator and attestationCommitteeCount values
  • All 7 client command scripts updated to pass both flags appropriately

@ch4r10t33r ch4r10t33r changed the title feat: add attestation committee count and auto aggregator selection feat: devnet3 changes Feb 8, 2026
ch4r10t33r and others added 4 commits February 8, 2026 20:39
Since attestation_committee_count is now hardcoded in clients, make it optional:
- Only pass --attestation-committee-count flag if explicitly set in config
- Remove default value from validator-config.yaml files
- Clients will use their hardcoded default if flag not provided
@KatyaRyazantseva
Copy link
Contributor

KatyaRyazantseva commented Feb 10, 2026

Do we need to add the defined number of committees into the config file? It's mentioned in the specs here.

@ch4r10t33r ch4r10t33r marked this pull request as ready for review February 10, 2026 15:08
@ch4r10t33r
Copy link
Contributor Author

Do we need to add the defined number of committees into the config file? It's mentioned in the specs here.

ATM, the attestation_committee_count is hardcoded in the spec as 1. I had made it configurable in my devnet3 PR. So yes, I think its a good idea to add it to the config file.

@ch4r10t33r ch4r10t33r requested a review from g11tech February 10, 2026 15:10
@ch4r10t33r ch4r10t33r marked this pull request as draft February 10, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants