Skip to content

Commit

Permalink
addressed further comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidu28 committed Aug 7, 2023
1 parent dfda728 commit c9e2ec2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/contracts/core/StrategyManagerStorage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ abstract contract StrategyManagerStorage is IStrategyManager {
/// @notice Mapping: strategy => whether or not stakers are allowed to deposit into it
mapping(IStrategy => bool) public strategyIsWhitelistedForDeposit;

// this replaces the datastructure mapping(address => uint256) public beaconChainETHSharesToDecrementOnWithdrawal;
// this mapping tracked beaconChainETH debt in case updates were made to shares retroactively. However this design was
// replaced by a simpler design that prevents withdrawals from EigenLayer before withdrawals from the beacon chain, which
// makes tracking debt unnecessary.
uint256 internal _deprecatedStorage;

IStrategy public constant beaconChainETHStrategy = IStrategy(0xbeaC0eeEeeeeEEeEeEEEEeeEEeEeeeEeeEEBEaC0);
Expand Down
4 changes: 2 additions & 2 deletions src/contracts/interfaces/IEigenPod.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ interface IEigenPod {
uint64 validatorIndex;
// amount of beacon chain ETH restaked on EigenLayer in gwei
uint64 restakedBalanceGwei;
// status of the validator
VALIDATOR_STATUS status;
//slot number of the validator's most recent balance update
uint64 mostRecentBalanceUpdateSlot;
// status of the validator
VALIDATOR_STATUS status;
}

enum PARTIAL_WITHDRAWAL_CLAIM_STATUS {
Expand Down

0 comments on commit c9e2ec2

Please sign in to comment.