File tree Expand file tree Collapse file tree 3 files changed +7
-25
lines changed Expand file tree Collapse file tree 3 files changed +7
-25
lines changed Original file line number Diff line number Diff line change 9
9
OperatorSet,
10
10
IAllocationManagerTypes
11
11
} from "eigenlayer-contracts/src/contracts/interfaces/IAllocationManager.sol " ;
12
- import {ISocketUpdater} from "./interfaces/ISocketUpdater.sol " ;
13
12
import {IBLSApkRegistry, IBLSApkRegistryTypes} from "./interfaces/IBLSApkRegistry.sol " ;
14
13
import {IStakeRegistry, IStakeRegistryTypes} from "./interfaces/IStakeRegistry.sol " ;
15
14
import {IIndexRegistry} from "./interfaces/IIndexRegistry.sol " ;
@@ -45,7 +44,6 @@ contract RegistryCoordinator is
45
44
OwnableUpgradeable ,
46
45
RegistryCoordinatorStorage ,
47
46
AVSRegistrar ,
48
- ISocketUpdater ,
49
47
ISignatureUtils
50
48
{
51
49
using BitmapUtils for * ;
@@ -401,7 +399,7 @@ contract RegistryCoordinator is
401
399
/// @inheritdoc IRegistryCoordinator
402
400
function updateSocket (
403
401
string memory socket
404
- ) external override (IRegistryCoordinator, ISocketUpdater ) {
402
+ ) external override (IRegistryCoordinator) {
405
403
require (_operatorInfo[msg .sender ].status == OperatorStatus.REGISTERED, NotRegistered ());
406
404
emit OperatorSocketUpdate (_operatorInfo[msg .sender ].operatorId, socket);
407
405
}
Original file line number Diff line number Diff line change @@ -148,6 +148,12 @@ interface IRegistryCoordinatorEvents is IRegistryCoordinatorTypes {
148
148
/// @param quorumNumber The identifier of the quorum being updated.
149
149
/// @param blocknumber The block number at which the quorum update occurred.
150
150
event QuorumBlockNumberUpdated (uint8 indexed quorumNumber , uint256 blocknumber );
151
+
152
+ /// @notice Emitted when an operator's socket is updated.
153
+ /// @dev Emitted in updateSocket().
154
+ /// @param operatorId The unique identifier of the operator (BLS public key hash).
155
+ /// @param socket The new socket address for the operator (typically an IP address).
156
+ event OperatorSocketUpdate (bytes32 indexed operatorId , string socket );
151
157
}
152
158
153
159
interface IRegistryCoordinator is IRegistryCoordinatorErrors , IRegistryCoordinatorEvents {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments