-
Notifications
You must be signed in to change notification settings - Fork 114
feat: poc for OperatorSets #263
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
Conversation
|
Noting that the Assuming some new mapping is used for the view function |
| /******************************************************************************* | ||
| OperatorSetManager Interface | ||
| *******************************************************************************/ | ||
| /** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: import from eigenlayer-contracts
| for (uint256 j = 0; j < numStrategies; ++j) { | ||
| IStrategy strategy = _stakeRegistry.strategyParamsByIndex(i, j).strategy; | ||
| strategies[j] = strategy; | ||
| require( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we just not check this at all and have the call to OSM revert?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also works assuming it will revert
|
Closing in favor of #279 |

Disregard the changed files not in
/src, changes were only made to make all contracts buildTODO before merge: