Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typographical errors #365

Open
wants to merge 5 commits into
base: mainnet
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/interfaces/IBLSSignatureChecker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {IStakeRegistry, IDelegationManager} from "./IStakeRegistry.sol";
import {BN254} from "../libraries/BN254.sol";

/**
* @title Used for checking BLS aggregate signatures from the operators of a EigenLayer AVS with the RegistryCoordinator/BLSApkRegistry/StakeRegistry architechture.
* @title Used for checking BLS aggregate signatures from the operators of a EigenLayer AVS with the RegistryCoordinator/BLSApkRegistry/StakeRegistry architecture.
* @author Layr Labs, Inc.
* @notice Terms of Service: https://docs.eigenlayer.xyz/overview/terms-of-service
* @notice This is the contract for checking the validity of aggregate operator signatures.
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IECDSAStakeRegistryEventsAndErrors.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@ interface ECDSAStakeRegistryEventsAndErrors {
/// @notice Thrown when registering an already registered operator
error OperatorAlreadyRegistered();

/// @notice Thrown when de-registering or updating the stake for an unregisted operator
/// @notice Thrown when de-registering or updating the stake for an unregistered operator
error OperatorNotRegistered();
}
4 changes: 2 additions & 2 deletions test/integration/IntegrationDeployer.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ abstract contract IntegrationDeployer is Test, IUserDeployer {
EigenPodManager eigenPodManagerImplementation = new EigenPodManager(
ethPOSDeposit, eigenPodBeacon, strategyManager, slasher, delegationManager
);
AVSDirectory avsDirectoryImplemntation = new AVSDirectory(delegationManager);
AVSDirectory avsDirectoryImplementation = new AVSDirectory(delegationManager);
// RewardsCoordinator rewardsCoordinatorImplementation = new RewardsCoordinator(
// delegationManager,
// IStrategyManager(address(strategyManager)),
Expand Down Expand Up @@ -235,7 +235,7 @@ abstract contract IntegrationDeployer is Test, IUserDeployer {
// AVSDirectory
proxyAdmin.upgradeAndCall(
TransparentUpgradeableProxy(payable(address(avsDirectory))),
address(avsDirectoryImplemntation),
address(avsDirectoryImplementation),
abi.encodeWithSelector(
AVSDirectory.initialize.selector,
eigenLayerReputedMultisig, // initialOwner
Expand Down
6 changes: 3 additions & 3 deletions test/unit/IndexRegistryUnit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ contract IndexRegistryUnitTests is MockAVSDeployer, IIndexRegistryEvents {

bitmapUtilsWrapper = new BitmapUtilsWrapper();

// Initialize quorums and set initailizedQuorumBitmap
// Initialize quorums and set initializedQuorumBitmap
_initializeQuorum();
_initializeQuorum();
_initializeQuorum();
Expand Down Expand Up @@ -74,7 +74,7 @@ contract IndexRegistryUnitTests is MockAVSDeployer, IIndexRegistryEvents {
}

/// @dev initializeQuorum based on passed in bitmap of quorum numbers
/// assumes that bitmap does not contain already initailized quorums and doesn't increment nextQuorum
/// assumes that bitmap does not contain already initialized quorums and doesn't increment nextQuorum
function _initializeFuzzedQuorums(uint192 bitmap) internal {
bytes memory quorumNumbers = bitmapUtilsWrapper.bitmapToBytesArray(bitmap);

Expand Down Expand Up @@ -1047,4 +1047,4 @@ contract IndexRegistryUnitTests_deregisterOperator is IndexRegistryUnitTests {
assertEq(operatorUpdate.operatorId, bytes32(0), "incorrect operatorId");
}
}
}
}
2 changes: 1 addition & 1 deletion test/unit/RegistryCoordinatorUnit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ contract RegistryCoordinatorUnitTests_Initialization_Setters is RegistryCoordina
);
}

// make sure the contract intializers are disabled
// make sure the contract initializers are disabled
cheats.expectRevert(bytes("Initializable: contract is already initialized"));
registryCoordinator.initialize(
registryCoordinatorOwner,
Expand Down