Skip to content

Commit 0e42f3d

Browse files
committed
chore: format
1 parent 0881e8b commit 0e42f3d

File tree

2 files changed

+23
-14
lines changed

2 files changed

+23
-14
lines changed

test/unit/TaskAVSRegistrarBaseUnit.t.sol

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ contract TaskAVSRegistrarBaseUnitTests is
4848

4949
// Deploy the registrar with proxy pattern
5050
MockTaskAVSRegistrar registrarImpl = new MockTaskAVSRegistrar(
51-
IAllocationManager(address(allocationManagerMock)),
51+
IAllocationManager(address(allocationManagerMock)),
5252
IKeyRegistrar(address(keyRegistrarMock)),
5353
permissionController
5454
);
@@ -132,7 +132,7 @@ contract TaskAVSRegistrarBaseUnitTests_Constructor is TaskAVSRegistrarBaseUnitTe
132132
// Deploy new registrar with proxy pattern
133133
ProxyAdmin newProxyAdmin = new ProxyAdmin();
134134
MockTaskAVSRegistrar newRegistrarImpl = new MockTaskAVSRegistrar(
135-
IAllocationManager(address(allocationManagerMock)),
135+
IAllocationManager(address(allocationManagerMock)),
136136
IKeyRegistrar(address(keyRegistrarMock)),
137137
permissionController
138138
);
@@ -164,7 +164,7 @@ contract TaskAVSRegistrarBaseUnitTests_Constructor is TaskAVSRegistrarBaseUnitTe
164164
// Deploy implementation
165165
ProxyAdmin newProxyAdmin = new ProxyAdmin();
166166
MockTaskAVSRegistrar newRegistrarImpl = new MockTaskAVSRegistrar(
167-
IAllocationManager(address(allocationManagerMock)),
167+
IAllocationManager(address(allocationManagerMock)),
168168
IKeyRegistrar(address(keyRegistrarMock)),
169169
permissionController
170170
);
@@ -187,7 +187,7 @@ contract TaskAVSRegistrarBaseUnitTests_Constructor is TaskAVSRegistrarBaseUnitTe
187187
// Deploy implementation
188188
ProxyAdmin newProxyAdmin = new ProxyAdmin();
189189
MockTaskAVSRegistrar newRegistrarImpl = new MockTaskAVSRegistrar(
190-
IAllocationManager(address(allocationManagerMock)),
190+
IAllocationManager(address(allocationManagerMock)),
191191
IKeyRegistrar(address(keyRegistrarMock)),
192192
permissionController
193193
);
@@ -207,7 +207,7 @@ contract TaskAVSRegistrarBaseUnitTests_Constructor is TaskAVSRegistrarBaseUnitTe
207207
// Deploy implementation
208208
ProxyAdmin newProxyAdmin = new ProxyAdmin();
209209
MockTaskAVSRegistrar newRegistrarImpl = new MockTaskAVSRegistrar(
210-
IAllocationManager(address(allocationManagerMock)),
210+
IAllocationManager(address(allocationManagerMock)),
211211
IKeyRegistrar(address(keyRegistrarMock)),
212212
permissionController
213213
);
@@ -227,7 +227,7 @@ contract TaskAVSRegistrarBaseUnitTests_Constructor is TaskAVSRegistrarBaseUnitTe
227227
// Deploy implementation
228228
ProxyAdmin newProxyAdmin = new ProxyAdmin();
229229
MockTaskAVSRegistrar newRegistrarImpl = new MockTaskAVSRegistrar(
230-
IAllocationManager(address(allocationManagerMock)),
230+
IAllocationManager(address(allocationManagerMock)),
231231
IKeyRegistrar(address(keyRegistrarMock)),
232232
permissionController
233233
);
@@ -247,7 +247,7 @@ contract TaskAVSRegistrarBaseUnitTests_Constructor is TaskAVSRegistrarBaseUnitTe
247247
// Deploy implementation
248248
ProxyAdmin newProxyAdmin = new ProxyAdmin();
249249
MockTaskAVSRegistrar newRegistrarImpl = new MockTaskAVSRegistrar(
250-
IAllocationManager(address(allocationManagerMock)),
250+
IAllocationManager(address(allocationManagerMock)),
251251
IKeyRegistrar(address(keyRegistrarMock)),
252252
permissionController
253253
);
@@ -421,7 +421,7 @@ contract TaskAVSRegistrarBaseUnitTests_Upgradeable is TaskAVSRegistrarBaseUnitTe
421421
function test_Implementation_CannotBeInitialized() public {
422422
// Deploy a new implementation
423423
MockTaskAVSRegistrar newImpl = new MockTaskAVSRegistrar(
424-
IAllocationManager(address(allocationManagerMock)),
424+
IAllocationManager(address(allocationManagerMock)),
425425
IKeyRegistrar(address(keyRegistrarMock)),
426426
permissionController
427427
);
@@ -445,7 +445,7 @@ contract TaskAVSRegistrarBaseUnitTests_Upgradeable is TaskAVSRegistrarBaseUnitTe
445445

446446
// Deploy new implementation (could have new functions/logic)
447447
MockTaskAVSRegistrar newImpl = new MockTaskAVSRegistrar(
448-
IAllocationManager(address(allocationManagerMock)),
448+
IAllocationManager(address(allocationManagerMock)),
449449
IKeyRegistrar(address(keyRegistrarMock)),
450450
permissionController
451451
);
@@ -472,7 +472,7 @@ contract TaskAVSRegistrarBaseUnitTests_Upgradeable is TaskAVSRegistrarBaseUnitTe
472472

473473
// Deploy new implementation
474474
MockTaskAVSRegistrar newImpl = new MockTaskAVSRegistrar(
475-
IAllocationManager(address(allocationManagerMock)),
475+
IAllocationManager(address(allocationManagerMock)),
476476
IKeyRegistrar(address(keyRegistrarMock)),
477477
permissionController
478478
);
@@ -522,7 +522,7 @@ contract TaskAVSRegistrarBaseUnitTests_Upgradeable is TaskAVSRegistrarBaseUnitTe
522522

523523
// Deploy new implementation
524524
MockTaskAVSRegistrar newImpl = new MockTaskAVSRegistrar(
525-
IAllocationManager(address(allocationManagerMock)),
525+
IAllocationManager(address(allocationManagerMock)),
526526
IKeyRegistrar(address(keyRegistrarMock)),
527527
permissionController
528528
);
@@ -578,7 +578,7 @@ contract TaskAVSRegistrarBaseUnitTests_Upgradeable is TaskAVSRegistrarBaseUnitTe
578578
function test_DisableInitializers_InImplementation() public {
579579
// This test verifies that the implementation contract has initializers disabled
580580
MockTaskAVSRegistrar impl = new MockTaskAVSRegistrar(
581-
IAllocationManager(address(allocationManagerMock)),
581+
IAllocationManager(address(allocationManagerMock)),
582582
IKeyRegistrar(address(keyRegistrarMock)),
583583
permissionController
584584
);

test/unit/middlewareV2/AVSRegistrarSocketUnit.t.sol

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ pragma solidity ^0.8.27;
44
import {IKeyRegistrar} from "eigenlayer-contracts/src/contracts/interfaces/IKeyRegistrar.sol";
55
import "./AVSRegistrarBase.t.sol";
66
import {AVSRegistrarWithSocket} from "src/middlewareV2/registrar/presets/AVSRegistrarWithSocket.sol";
7-
import {ISocketRegistryEvents, ISocketRegistryErrors, ISocketRegistryV2} from "src/interfaces/ISocketRegistryV2.sol";
7+
import {
8+
ISocketRegistryEvents,
9+
ISocketRegistryErrors,
10+
ISocketRegistryV2
11+
} from "src/interfaces/ISocketRegistryV2.sol";
812

913
contract AVSRegistrarSocketUnitTests is
1014
AVSRegistrarBase,
@@ -167,7 +171,12 @@ contract AVSRegistrarSocketUnitTests_updateSocket is AVSRegistrarSocketUnitTests
167171

168172
address appointee = address(0x789);
169173
cheats.prank(defaultOperator);
170-
permissionController.setAppointee(defaultOperator, appointee, address(avsRegistrarWithSocket), ISocketRegistryV2.updateSocket.selector);
174+
permissionController.setAppointee(
175+
defaultOperator,
176+
appointee,
177+
address(avsRegistrarWithSocket),
178+
ISocketRegistryV2.updateSocket.selector
179+
);
171180

172181
cheats.expectEmit(true, true, true, true);
173182
emit OperatorSocketSet(defaultOperator, newSocket);

0 commit comments

Comments
 (0)