File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -491,9 +491,7 @@ contract StakeRegistry is StakeRegistryStorage {
491491 uint256 stratsLength = strategyParamsLength (quorumNumber);
492492 StrategyParams memory strategyAndMultiplier;
493493
494- uint256 [] memory strategyShares;
495- // TODO: FIX
496- // = delegation.getOperatorShares(operator, strategiesPerQuorum[quorumNumber]);
494+ uint256 [] memory strategyShares = delegation.getDelegatableShares (operator, strategiesPerQuorum[quorumNumber]);
497495 for (uint256 i = 0 ; i < stratsLength; i++ ) {
498496 // accessing i^th StrategyParams struct for the quorumNumber
499497 strategyAndMultiplier = strategyParams[quorumNumber][i];
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: BUSL-1.1
2+ pragma solidity ^ 0.8.12 ;
3+
14import {IAllocationManager} from "eigenlayer-contracts/src/contracts/interfaces/IAllocationManager.sol " ;
25import {IStrategy} from "eigenlayer-contracts/src/contracts/interfaces/IStrategy.sol " ;
36import {OperatorSet} from "eigenlayer-contracts/src/contracts/interfaces/IAVSDirectory.sol " ;
You can’t perform that action at this time.
0 commit comments