Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Accessibility the mapping for _operatorSets #1161

Open
2 tasks
gerceboss opened this issue Feb 25, 2025 · 3 comments
Open
2 tasks

Feature: Accessibility the mapping for _operatorSets #1161

gerceboss opened this issue Feb 25, 2025 · 3 comments

Comments

@gerceboss
Copy link

Description

  • The mapping for registered operatorSets for an AVS must be accessible in order to find that if operator is registered for a particular avs.
  • The mapping is declared in AllocationManagerStorage.sol.
/// @dev Lists the operator set ids an AVS has created
    mapping(address avs => EnumerableSet.UintSet) internal _operatorSets;

Action Items

  • Add a function returning all the operatorSets(OperatorSet[] memory) for an avs in AllocationManager.sol
  • Change the interface IALlocationManager.sol accordingly
@bowenli86
Copy link
Member

make sense, i'll take a look

thanks

@gerceboss
Copy link
Author

@bowenli86 , would like to contribute if possible

@bowenli86
Copy link
Member

it can be a bit hard this time, given our tight deadline and the way to contribute are still to be formalized, eg manage branches
once those are done, for sure

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

No branches or pull requests

2 participants