Unexport constants
from order-utils
.
Directly grab the EIP712 constants from the `order-utils` package in `/contracts/coordinator/test/util/hash_utils`. Update changelogs.
This commit is contained in:
parent
54c17b0068
commit
ad5d4bdfc5
@ -6,7 +6,10 @@
|
|||||||
"note": "Created Coordinator package"
|
"note": "Created Coordinator package"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"note": "Use mixed EIP712 domains for transactions and approvals."
|
"note": "Use mixed EIP712 domains for transactions and approvals"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"note": "Add `SignatureType.Invalid`"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import { constants, eip712Utils, transactionHashUtils } from '@0x/order-utils';
|
import { eip712Utils, transactionHashUtils } from '@0x/order-utils';
|
||||||
|
import { constants } from '@0x/order-utils/lib/src/constants';
|
||||||
import { SignedZeroExTransaction } from '@0x/types';
|
import { SignedZeroExTransaction } from '@0x/types';
|
||||||
import { BigNumber, signTypedDataUtils } from '@0x/utils';
|
import { BigNumber, signTypedDataUtils } from '@0x/utils';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"version" : "7.1.0",
|
"version": "7.1.0",
|
||||||
"changes": [
|
"changes": [
|
||||||
{
|
{
|
||||||
"note": "Add Coordinator EIP712 constants"
|
"note": "Add Coordinator EIP712 constants"
|
||||||
},
|
}
|
||||||
{
|
]
|
||||||
"note": "Export constants"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"timestamp": 1551479279,
|
"timestamp": 1551479279,
|
||||||
|
@ -73,5 +73,3 @@ export {
|
|||||||
FeeOrdersAndRemainingFeeAmount,
|
FeeOrdersAndRemainingFeeAmount,
|
||||||
OrdersAndRemainingFillAmount,
|
OrdersAndRemainingFillAmount,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
export { constants } from './constants';
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user