Skip to content

Commit

Permalink
fixed storage gap
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidu28 committed Jan 23, 2024
1 parent db8ad2f commit ce33502
Show file tree
Hide file tree
Showing 5 changed files with 2,444 additions and 2,457 deletions.
4 changes: 0 additions & 4 deletions src/contracts/interfaces/IEigenPodManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,4 @@ interface IEigenPodManager is IPausable {
*/
function denebForkTimestamp() external view returns (uint64);

/**
* governance-permissioned function to set the deneb fork timestamp
*/
function setDenebForkTimestamp(uint64 timestamp) external;
}
9 changes: 0 additions & 9 deletions src/contracts/pods/EigenPodManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,6 @@ contract EigenPodManager is
_updateBeaconChainOracle(newBeaconChainOracle);
}

/**
* @notice Sets the denebTimestamp
* @dev Callable only by the owner of this contract (i.e. governance)
*/
function setDenebForkTimestamp(uint64 timestamp) external onlyOwner {
denebForkTimestamp = timestamp;
emit DenebForkTimestampUpdated(timestamp);
}

// INTERNAL FUNCTIONS

function _deployPod() internal onlyWhenNotPaused(PAUSED_NEW_EIGENPODS) returns (IEigenPod) {
Expand Down
4 changes: 2 additions & 2 deletions src/contracts/pods/EigenPodManagerStorage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ abstract contract EigenPodManagerStorage is IEigenPodManager {
*/
mapping(address => int256) public podOwnerShares;

uint64 public denebForkTimestamp;
uint64 public constant denebForkTimestamp = 1705473120;

constructor(
IETHPOSDeposit _ethPOS,
Expand All @@ -85,5 +85,5 @@ abstract contract EigenPodManagerStorage is IEigenPodManager {
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[44] private __gap;
uint256[45] private __gap;
}
Loading

0 comments on commit ce33502

Please sign in to comment.