-
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
1 changed file
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,11 +55,11 @@ abstract contract StakeRootCompendiumStorage is IStakeRootCompendium, OwnableUpg | |
/// @notice deposit balance to be deducted for operatorSets | ||
mapping(address => mapping(uint32 => DepositInfo)) public depositInfos; | ||
Check failure Code scanning / Slither Uninitialized state variables High
StakeRootCompendiumStorage.depositInfos is never initialized. It is used in:
- StakeRootCompendium.deposit(OperatorSet) |
||
/// @notice the extraData for each operatorSet | ||
mapping(address => mapping(uint32 => bytes32)) internal operatorSetExtraDatas; | ||
mapping(address => mapping(uint32 => bytes32)) public operatorSetExtraDatas; | ||
/// @notice map from operator set to a trace of their index over time | ||
mapping(address => mapping(uint32 => Snapshots.History)) internal operatorSetToIndex; | ||
/// @notice the extraData for each operator in each operator set | ||
mapping(address => mapping(uint32 => mapping(address => bytes32))) internal operatorExtraDatas; | ||
mapping(address => mapping(uint32 => mapping(address => bytes32))) public operatorExtraDatas; | ||
/// @notice the strategies and multipliers for each operator set | ||
mapping(address => mapping(uint32 => EnumerableMap.AddressToUintMap)) internal operatorSetToStrategyAndMultipliers; | ||
|
||
|