@@ -30,22 +30,22 @@ abstract contract IntegrationBase is IntegrationConfig {
30
30
31
31
/// @dev Also checks that the user has NEVER_REGISTERED status
32
32
function assert_HasNoOperatorInfo (User user , string memory err ) internal {
33
- IRegistryCoordinator .OperatorInfo memory info = _getOperatorInfo (user);
33
+ ISlashingRegistryCoordinator .OperatorInfo memory info = _getOperatorInfo (user);
34
34
35
35
assertEq (info.operatorId, bytes32 (0 ), err);
36
- assertTrue (info.status == IRegistryCoordinator .OperatorStatus.NEVER_REGISTERED, err);
36
+ assertTrue (info.status == ISlashingRegistryCoordinator .OperatorStatus.NEVER_REGISTERED, err);
37
37
}
38
38
39
39
function assert_HasRegisteredStatus (User user , string memory err ) internal {
40
- IRegistryCoordinator .OperatorStatus status = registryCoordinator.getOperatorStatus (address (user));
40
+ ISlashingRegistryCoordinator .OperatorStatus status = registryCoordinator.getOperatorStatus (address (user));
41
41
42
- assertTrue (status == IRegistryCoordinator .OperatorStatus.REGISTERED, err);
42
+ assertTrue (status == ISlashingRegistryCoordinator .OperatorStatus.REGISTERED, err);
43
43
}
44
44
45
45
function assert_HasDeregisteredStatus (User user , string memory err ) internal {
46
- IRegistryCoordinator .OperatorStatus status = registryCoordinator.getOperatorStatus (address (user));
46
+ ISlashingRegistryCoordinator .OperatorStatus status = registryCoordinator.getOperatorStatus (address (user));
47
47
48
- assertTrue (status == IRegistryCoordinator .OperatorStatus.DEREGISTERED, err);
48
+ assertTrue (status == ISlashingRegistryCoordinator .OperatorStatus.DEREGISTERED, err);
49
49
}
50
50
51
51
function assert_EmptyQuorumBitmap (User user , string memory err ) internal {
@@ -213,8 +213,8 @@ abstract contract IntegrationBase is IntegrationConfig {
213
213
}
214
214
215
215
function assert_Snap_Unchanged_OperatorInfo (User user , string memory err ) internal {
216
- IRegistryCoordinator .OperatorInfo memory curInfo = _getOperatorInfo (user);
217
- IRegistryCoordinator .OperatorInfo memory prevInfo = _getPrevOperatorInfo (user);
216
+ ISlashingRegistryCoordinator .OperatorInfo memory curInfo = _getOperatorInfo (user);
217
+ ISlashingRegistryCoordinator .OperatorInfo memory prevInfo = _getPrevOperatorInfo (user);
218
218
219
219
assertEq (prevInfo.operatorId, curInfo.operatorId, err);
220
220
assertTrue (prevInfo.status == curInfo.status, err);
@@ -789,11 +789,11 @@ abstract contract IntegrationBase is IntegrationConfig {
789
789
790
790
/// RegistryCoordinator:
791
791
792
- function _getOperatorInfo (User user ) internal view returns (IRegistryCoordinator .OperatorInfo memory ) {
792
+ function _getOperatorInfo (User user ) internal view returns (ISlashingRegistryCoordinator .OperatorInfo memory ) {
793
793
return registryCoordinator.getOperator (address (user));
794
794
}
795
795
796
- function _getPrevOperatorInfo (User user ) internal timewarp () returns (IRegistryCoordinator .OperatorInfo memory ) {
796
+ function _getPrevOperatorInfo (User user ) internal timewarp () returns (ISlashingRegistryCoordinator .OperatorInfo memory ) {
797
797
return _getOperatorInfo (user);
798
798
}
799
799
0 commit comments