Skip to content

Commit

Permalink
fix: failing ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
8sunyuan committed Feb 5, 2025
1 parent d73f483 commit 6261e2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/SocketRegistryUnit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
pragma solidity ^0.8.12;

import {SocketRegistry} from "../../src/SocketRegistry.sol";
import {ISocketRegistry, ISocketRegistryErrors} from "../../src/interfaces/ISocketRegistry.sol";
import {IRegistryCoordinator} from "../../src/interfaces/IRegistryCoordinator.sol";
import "../utils/MockAVSDeployer.sol";

Expand All @@ -20,7 +21,7 @@ contract SocketRegistryUnitTests is MockAVSDeployer {
function test_setOperatorSocket_revert_notSlashingRegistryCoordinator() public {
vm.startPrank(address(0));
vm.expectRevert(
"SocketRegistry.onlySlashingRegistryCoordinator: caller is not the SlashingRegistryCoordinator"
ISocketRegistryErrors.OnlySlashingRegistryCoordinator.selector
);
socketRegistry.setOperatorSocket(defaultOperatorId, "testSocket");
}
Expand Down

0 comments on commit 6261e2f

Please sign in to comment.