Skip to content

Commit d73f483

Browse files
committed
chore: fmt test files
1 parent b3df455 commit d73f483

File tree

3 files changed

+9
-18
lines changed

3 files changed

+9
-18
lines changed

test/harnesses/RegistryCoordinatorHarness.t.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ contract RegistryCoordinatorHarness is RegistryCoordinator, Test {
8080
isM2QuorumRegistrationDisabled = disabled;
8181
}
8282

83-
function setM2QuorumBitmap(uint256 bitmap) external {
83+
function setM2QuorumBitmap(
84+
uint256 bitmap
85+
) external {
8486
_m2QuorumBitmap = bitmap;
8587
}
8688
}

test/integration/IntegrationDeployer.t.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,9 @@ abstract contract IntegrationDeployer is Test, IUserDeployer {
498498
}
499499

500500
/// @notice Overwrite RegistryCoordinator._m2QuorumBitmap to the specified value
501-
function _setM2QuorumBitmap(uint256 m2QuorumBitmap) internal {
501+
function _setM2QuorumBitmap(
502+
uint256 m2QuorumBitmap
503+
) internal {
502504
bytes32 currentSlot = cheats.load(address(registryCoordinator), bytes32(uint256(200)));
503505

504506
cheats.store(address(registryCoordinator), bytes32(uint256(200)), bytes32(m2QuorumBitmap));

test/unit/RegistryCoordinatorUnit.t.sol

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,6 @@ contract RegistryCoordinatorUnitTests_DeregisterOperator_EjectOperator is
705705
}
706706

707707
function test_deregisterOperator_revert_incorrectQuorums() public {
708-
709708
console.log("quorumCount", registryCoordinator.quorumCount());
710709

711710
assertTrue(
@@ -2403,26 +2402,15 @@ contract RegistryCoordinatorUnitTests_BeforeMigration is RegistryCoordinatorUnit
24032402
});
24042403
uint32 lookAheadPeriod = 100;
24052404

2406-
assertEq(
2407-
registryCoordinator.quorumCount(),
2408-
0,
2409-
"No quorums should exist before"
2410-
);
2405+
assertEq(registryCoordinator.quorumCount(), 0, "No quorums should exist before");
24112406

24122407
// Attempt to create quorum with slashable stake type before enabling operator sets
24132408
cheats.prank(registryCoordinatorOwner);
24142409
registryCoordinator.createSlashableStakeQuorum(
24152410
operatorSetParams, minimumStake, strategyParams, lookAheadPeriod
24162411
);
2417-
assertEq(
2418-
registryCoordinator.quorumCount(),
2419-
1,
2420-
"New quorum 0 should be created"
2421-
);
2422-
assertFalse(
2423-
registryCoordinator.isM2Quorum(0),
2424-
"Quorum created should not be an M2 quorum"
2425-
);
2412+
assertEq(registryCoordinator.quorumCount(), 1, "New quorum 0 should be created");
2413+
assertFalse(registryCoordinator.isM2Quorum(0), "Quorum created should not be an M2 quorum");
24262414
}
24272415
}
24282416

@@ -2596,7 +2584,6 @@ contract RegistryCoordinatorUnitTests_AfterMigration is RegistryCoordinatorUnitT
25962584
vm.skip(true);
25972585
_deployMockEigenLayerAndAVS(0);
25982586

2599-
26002587
// Create quorum params
26012588
ISlashingRegistryCoordinatorTypes.OperatorSetParam memory operatorSetParams =
26022589
ISlashingRegistryCoordinatorTypes.OperatorSetParam({

0 commit comments

Comments
 (0)