-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
The current swarm coordination system uses a 3-stage round structure that introduces unnecessary complexity for our simplified coordination use case. The multi-stage approach creates coordination overhead, delays round progression, and complicates the reward submission process for participants who need rapid feedback cycles.
Proposed Solution
Hardcode the stageCount constant to 1 instead of the current value of 3, effectively creating a single-stage round system where each round completes immediately after one stage.
Technical Details
- New functions/methods needed: N/A
- State variables required: Modify existing
_stageCountconstant from 3 to 1 - Events to emit: N/A (existing events will continue to work)
- Access control considerations: N/A
[Optional] Example Implementation
// Change this line in SwarmCoordinator.sol
uint256 constant _stageCount = 1; // Previously was 3[Optional] Alternatives Considered
- Dynamic stage count configuration: Would add unnecessary complexity for a parameter that should remain constant for network consistency
- Parameterized constructor: Adds deployment complexity without clear benefit
- Multi-stage support with single-stage mode: Over-engineering for the simplified use case
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request