Updated changelogs and ran prettier
This commit is contained in:
parent
858ccfa934
commit
46f6816511
@ -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,
|
"timestamp": 1563193019,
|
||||||
"version": "2.2.2",
|
"version": "2.2.2",
|
||||||
|
@ -29,6 +29,10 @@
|
|||||||
{
|
{
|
||||||
"note": "Added unit tests for all of the internal functions in the package",
|
"note": "Added unit tests for all of the internal functions in the package",
|
||||||
"pr": 2014
|
"pr": 2014
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"note": "Updated Ownable to revert when the owner attempts to transfer ownership to the zero address",
|
||||||
|
"pr": 2019
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -16,10 +16,7 @@ export class TransferOwnerToZeroError extends RevertError {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const types = [
|
const types = [OnlyOwnerError, TransferOwnerToZeroError];
|
||||||
OnlyOwnerError,
|
|
||||||
TransferOwnerToZeroError,
|
|
||||||
];
|
|
||||||
|
|
||||||
// Register the types we've defined.
|
// Register the types we've defined.
|
||||||
for (const type of types) {
|
for (const type of types) {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import { BigNumber } from './configured_bignumber';
|
import { BigNumber } from './configured_bignumber';
|
||||||
import { RevertError } from './revert_error';
|
import { RevertError } from './revert_error';
|
||||||
|
|
||||||
|
|
||||||
export enum SafeMathErrorCodes {
|
export enum SafeMathErrorCodes {
|
||||||
Uint256AdditionOverflow,
|
Uint256AdditionOverflow,
|
||||||
Uint256MultiplicationOverflow,
|
Uint256MultiplicationOverflow,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user