Skip to content

Commit

Permalink
chore(contracts): nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Bostoen committed Oct 14, 2024
1 parent 37e6c43 commit 33553f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion bolt-contracts/src/contracts/BoltEigenLayerMiddleware.sol
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ contract BoltEigenLayerMiddleware is IBoltMiddleware, OwnableUpgradeable, UUPSUp
manager.registerOperator(msg.sender, rpc);
}

/// @notice Deregister an EigenLayer layer operator from working in Bolt Protocol.
/// @notice Deregister an EigenLayer operator from working in Bolt Protocol.
/// @dev This requires calling the EigenLayer AVS Directory contract to deregister the operator.
/// EigenLayer internally contains a mapping from `msg.sender` (our AVS contract) to the operator.
function deregisterOperator() public {
Expand Down
10 changes: 0 additions & 10 deletions bolt-contracts/src/contracts/BoltManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ import {Time} from "@openzeppelin/contracts/utils/types/Time.sol";
import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

import {IBaseDelegator} from "@symbiotic/interfaces/delegator/IBaseDelegator.sol";
import {Subnetwork} from "@symbiotic/contracts/libraries/Subnetwork.sol";
import {IVault} from "@symbiotic/interfaces/vault/IVault.sol";
import {IRegistry} from "@symbiotic/interfaces/common/IRegistry.sol";
import {IOptInService} from "@symbiotic/interfaces/service/IOptInService.sol";
import {ISlasher} from "@symbiotic/interfaces/slasher/ISlasher.sol";
import {IVetoSlasher} from "@symbiotic/interfaces/slasher/IVetoSlasher.sol";
import {IEntity} from "@symbiotic/interfaces/common/IEntity.sol";

import {OperatorMapWithTime} from "../lib/OperatorMapWithTime.sol";
import {EnumerableMap} from "../lib/EnumerableMap.sol";
import {IBoltValidators} from "../interfaces/IBoltValidators.sol";
Expand All @@ -27,7 +18,6 @@ contract BoltManager is IBoltManager, OwnableUpgradeable, UUPSUpgradeable {
using EnumerableSet for EnumerableSet.AddressSet;
using EnumerableMap for EnumerableMap.OperatorMap;
using OperatorMapWithTime for EnumerableMap.OperatorMap;
using Subnetwork for address;

// ========= STORAGE =========

Expand Down

0 comments on commit 33553f9

Please sign in to comment.