diff --git a/contracts/asset-proxy/CHANGELOG.json b/contracts/asset-proxy/CHANGELOG.json index 56619891b4..cbe91bd41e 100644 --- a/contracts/asset-proxy/CHANGELOG.json +++ b/contracts/asset-proxy/CHANGELOG.json @@ -1,4 +1,13 @@ [ + { + "version": "3.2.0", + "changes": [ + { + "note": "Disallow the zero address from being made an authorized address in MixinAuthorizable", + "pr": 2019 + } + ] + }, { "timestamp": 1563193019, "version": "2.2.2", diff --git a/contracts/utils/CHANGELOG.json b/contracts/utils/CHANGELOG.json index b457e5c0f3..8cf9dbdc51 100644 --- a/contracts/utils/CHANGELOG.json +++ b/contracts/utils/CHANGELOG.json @@ -29,6 +29,10 @@ { "note": "Added unit tests for all of the internal functions in the package", "pr": 2014 + }, + { + "note": "Updated Ownable to revert when the owner attempts to transfer ownership to the zero address", + "pr": 2019 } ] }, diff --git a/packages/utils/src/ownable_revert_errors.ts b/packages/utils/src/ownable_revert_errors.ts index 981b3f7d88..14682cce88 100644 --- a/packages/utils/src/ownable_revert_errors.ts +++ b/packages/utils/src/ownable_revert_errors.ts @@ -16,10 +16,7 @@ export class TransferOwnerToZeroError extends RevertError { } } -const types = [ - OnlyOwnerError, - TransferOwnerToZeroError, -]; +const types = [OnlyOwnerError, TransferOwnerToZeroError]; // Register the types we've defined. for (const type of types) { diff --git a/packages/utils/src/safe_math_revert_errors.ts b/packages/utils/src/safe_math_revert_errors.ts index 57c7c8d04b..42cbf1e355 100644 --- a/packages/utils/src/safe_math_revert_errors.ts +++ b/packages/utils/src/safe_math_revert_errors.ts @@ -1,7 +1,6 @@ import { BigNumber } from './configured_bignumber'; import { RevertError } from './revert_error'; - export enum SafeMathErrorCodes { Uint256AdditionOverflow, Uint256MultiplicationOverflow,