Closed namn-grg closed 2 months ago
The recent updates to the BoltRegistry
contract significantly enhance operator management and improve querying capabilities for registrants. A new public array operators
has been introduced to track active operators, while the getAllRegistrants
method allows for efficient retrieval of registrants associated with those operators. Additionally, the isActiveOperator
function's visibility has been changed to public, enhancing its accessibility for internal contract functions.
File | Change Summary |
---|---|
bolt-contracts/src/contracts/BoltRegistry.sol |
- Added address[] public operators for tracking active operators. - Introduced function getAllRegistrants() external view returns (Registrant[] memory) for retrieving registrants. - Changed isActiveOperator visibility from external to public . |
Objective | Addressed | Explanation |
---|---|---|
Add a way to query all registered validators in Bolt-registry (#157) | ✅ |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
fixes #157
Summary by CodeRabbit