From 7522cc8a19f7fc434594c0362171b82e8ea62362 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sat, 1 Mar 2025 11:42:58 +0200 Subject: [PATCH 1/3] Update IAuthorizableV08.sol --- .../utils/contracts/src/v08/interfaces/IAuthorizableV08.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/utils/contracts/src/v08/interfaces/IAuthorizableV08.sol b/contracts/utils/contracts/src/v08/interfaces/IAuthorizableV08.sol index 3102f2ed29..37d5fd7d54 100644 --- a/contracts/utils/contracts/src/v08/interfaces/IAuthorizableV08.sol +++ b/contracts/utils/contracts/src/v08/interfaces/IAuthorizableV08.sol @@ -45,7 +45,7 @@ interface IAuthorizableV08 is IOwnableV08 { /// @return authorizedAddresses Array of authorized addresses. function getAuthorizedAddresses() external view returns (address[] memory authorizedAddresses); - /// @dev Whether an adderss is authorized to call privileged functions. + /// @dev Whether an address is authorized to call privileged functions. /// @param addr Address to query. /// @return isAuthorized Whether the address is authorized. function authorized(address addr) external view returns (bool isAuthorized); From 0c4b232f54603f8ada41244f2d7834ebbb02f738 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sat, 1 Mar 2025 11:43:35 +0200 Subject: [PATCH 2/3] Update number_utils.ts --- contracts/test-utils/src/number_utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/test-utils/src/number_utils.ts b/contracts/test-utils/src/number_utils.ts index 86aba372b7..94f9688c72 100644 --- a/contracts/test-utils/src/number_utils.ts +++ b/contracts/test-utils/src/number_utils.ts @@ -46,14 +46,14 @@ export function getRandomFloat(min: Numberish, max: Numberish): BigNumber { export const FIXED_POINT_BASE = new BigNumber(2).pow(127); /** - * Convert `n` to fixed-point integer represenatation. + * Convert `n` to fixed-point integer representation. */ export function toFixed(n: Numberish): BigNumber { return new BigNumber(n).times(FIXED_POINT_BASE).integerValue(); } /** - * Convert `n` from fixed-point integer represenatation. + * Convert `n` from fixed-point integer representation. */ export function fromFixed(n: Numberish): BigNumber { return new BigNumber(n).dividedBy(FIXED_POINT_BASE); From ee789d61a2bd3008d14494f172461d64276c491f Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sat, 1 Mar 2025 11:44:12 +0200 Subject: [PATCH 3/3] Update InitialMigration.sol --- contracts/zero-ex/contracts/src/migrations/InitialMigration.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/zero-ex/contracts/src/migrations/InitialMigration.sol b/contracts/zero-ex/contracts/src/migrations/InitialMigration.sol index 8c51f20ac6..71651a0f08 100644 --- a/contracts/zero-ex/contracts/src/migrations/InitialMigration.sol +++ b/contracts/zero-ex/contracts/src/migrations/InitialMigration.sol @@ -45,7 +45,7 @@ contract InitialMigration { /// @dev Initialize the `ZeroEx` contract with the minimum feature set, /// transfers ownership to `owner`, then self-destructs. - /// Only callable by `initializeCaller` set in the contstructor. + /// Only callable by `initializeCaller` set in the constructor. /// @param owner The owner of the contract. /// @param zeroEx The instance of the ZeroEx contract. ZeroEx should /// been constructed with this contract as the bootstrapper.