-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,18 +68,21 @@ abstract contract EigenPodStorage is IEigenPod { | |
mapping(uint64 => uint64) public checkpointBalanceExitedGwei; | ||
|
||
/// @notice The current checkpoint, if there is one active | ||
Checkpoint internal _currentCheckpoint; // TODO: this storage is fucked need split structs | ||
Checkpoint internal _currentCheckpoint; | ||
|
||
/// @notice An address with permissions to call `startCheckpoint` and `verifyWithdrawalCredentials`, set | ||
/// by the podOwner. This role exists to allow a podOwner to designate a hot wallet that can call | ||
/// these methods, allowing the podOwner to remain a cold wallet that is only used to manage funds. | ||
/// @dev If this address is NOT set, only the podOwner can call `startCheckpoint` and `verifyWithdrawalCredentials` | ||
address public proofSubmitter; | ||
|
||
/// @notice The total balance of the pod before the current checkpoint | ||
uint128 public beaconChainBalanceBeforeCurrentCheckpoint; | ||
Check warning Code scanning / Slither State variables that could be declared constant Warning
EigenPodStorage.beaconChainBalanceBeforeCurrentCheckpoint should be constant
|
||
|
||
/** | ||
* @dev This empty reserved space is put in place to allow future versions to add new | ||
* variables without shifting down storage in the inheritance chain. | ||
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps | ||
*/ | ||
uint256[35] private __gap; // Reduced the gap size by 1 to accommodate the new variable | ||
uint256[35] private __gap; | ||
} |