Skip to content

Commit 6261e2f

Browse files
committed
fix: failing ci test
1 parent d73f483 commit 6261e2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/unit/SocketRegistryUnit.t.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
pragma solidity ^0.8.12;
44

55
import {SocketRegistry} from "../../src/SocketRegistry.sol";
6+
import {ISocketRegistry, ISocketRegistryErrors} from "../../src/interfaces/ISocketRegistry.sol";
67
import {IRegistryCoordinator} from "../../src/interfaces/IRegistryCoordinator.sol";
78
import "../utils/MockAVSDeployer.sol";
89

@@ -20,7 +21,7 @@ contract SocketRegistryUnitTests is MockAVSDeployer {
2021
function test_setOperatorSocket_revert_notSlashingRegistryCoordinator() public {
2122
vm.startPrank(address(0));
2223
vm.expectRevert(
23-
"SocketRegistry.onlySlashingRegistryCoordinator: caller is not the SlashingRegistryCoordinator"
24+
ISocketRegistryErrors.OnlySlashingRegistryCoordinator.selector
2425
);
2526
socketRegistry.setOperatorSocket(defaultOperatorId, "testSocket");
2627
}

0 commit comments

Comments
 (0)