@@ -287,7 +287,7 @@ contract BLSApkRegistryUnitTests_configAndGetters is BLSApkRegistryUnitTests {
287
287
cheats.assume (nonCoordinatorAddress != address (registryCoordinator));
288
288
289
289
cheats.prank (address (nonCoordinatorAddress));
290
- cheats.expectRevert (IBLSApkRegistryErrors.OnlyRegistryCoordinatorOwner .selector );
290
+ cheats.expectRevert (IBLSApkRegistryErrors.OnlyRegistryCoordinator .selector );
291
291
blsApkRegistry.initializeQuorum (defaultQuorumNumber);
292
292
}
293
293
}
@@ -306,7 +306,7 @@ contract BLSApkRegistryUnitTests_registerBLSPublicKey is BLSApkRegistryUnitTests
306
306
registryCoordinator.pubkeyRegistrationMessageHash (defaultOperator);
307
307
308
308
cheats.prank (address (nonCoordinatorAddress));
309
- cheats.expectRevert (IBLSApkRegistryErrors.OnlyRegistryCoordinatorOwner .selector );
309
+ cheats.expectRevert (IBLSApkRegistryErrors.OnlyRegistryCoordinator .selector );
310
310
blsApkRegistry.registerBLSPublicKey (defaultOperator, pubkeyRegistrationParams, messageHash);
311
311
}
312
312
@@ -434,7 +434,7 @@ contract BLSApkRegistryUnitTests_registerOperator is BLSApkRegistryUnitTests {
434
434
cheats.assume (nonCoordinatorAddress != address (registryCoordinator));
435
435
436
436
cheats.prank (nonCoordinatorAddress);
437
- cheats.expectRevert (IBLSApkRegistryErrors.OnlyRegistryCoordinatorOwner .selector );
437
+ cheats.expectRevert (IBLSApkRegistryErrors.OnlyRegistryCoordinator .selector );
438
438
blsApkRegistry.registerOperator (nonCoordinatorAddress, new bytes (0 ));
439
439
}
440
440
@@ -537,7 +537,7 @@ contract BLSApkRegistryUnitTests_deregisterOperator is BLSApkRegistryUnitTests {
537
537
cheats.assume (nonCoordinatorAddress != address (registryCoordinator));
538
538
539
539
cheats.prank (nonCoordinatorAddress);
540
- cheats.expectRevert (IBLSApkRegistryErrors.OnlyRegistryCoordinatorOwner .selector );
540
+ cheats.expectRevert (IBLSApkRegistryErrors.OnlyRegistryCoordinator .selector );
541
541
blsApkRegistry.deregisterOperator (nonCoordinatorAddress, new bytes (0 ));
542
542
}
543
543
0 commit comments