File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3
3
pragma solidity ^ 0.8.12 ;
4
4
5
5
import {SocketRegistry} from "../../src/SocketRegistry.sol " ;
6
+ import {ISocketRegistry, ISocketRegistryErrors} from "../../src/interfaces/ISocketRegistry.sol " ;
6
7
import {IRegistryCoordinator} from "../../src/interfaces/IRegistryCoordinator.sol " ;
7
8
import "../utils/MockAVSDeployer.sol " ;
8
9
@@ -20,7 +21,7 @@ contract SocketRegistryUnitTests is MockAVSDeployer {
20
21
function test_setOperatorSocket_revert_notSlashingRegistryCoordinator () public {
21
22
vm.startPrank (address (0 ));
22
23
vm.expectRevert (
23
- " SocketRegistry.onlySlashingRegistryCoordinator: caller is not the SlashingRegistryCoordinator "
24
+ ISocketRegistryErrors.OnlySlashingRegistryCoordinator. selector
24
25
);
25
26
socketRegistry.setOperatorSocket (defaultOperatorId, "testSocket " );
26
27
}
You can’t perform that action at this time.
0 commit comments