Updated changelogs and ran prettier

This commit is contained in:
Alex Towle 2019-07-30 16:08:58 -07:00
parent 858ccfa934
commit 46f6816511
4 changed files with 14 additions and 5 deletions

View File

@ -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",

View File

@ -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
}
]
},

View File

@ -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) {

View File

@ -1,7 +1,6 @@
import { BigNumber } from './configured_bignumber';
import { RevertError } from './revert_error';
export enum SafeMathErrorCodes {
Uint256AdditionOverflow,
Uint256MultiplicationOverflow,