Add OrderMatcher tests
This commit is contained in:
@@ -48,7 +48,6 @@ describe(ContractName.Forwarder, () => {
|
||||
let owner: string;
|
||||
let takerAddress: string;
|
||||
let feeRecipientAddress: string;
|
||||
let otherAddress: string;
|
||||
let defaultMakerAssetAddress: string;
|
||||
let zrxAssetData: string;
|
||||
let wethAssetData: string;
|
||||
@@ -78,7 +77,7 @@ describe(ContractName.Forwarder, () => {
|
||||
before(async () => {
|
||||
await blockchainLifecycle.startAsync();
|
||||
const accounts = await web3Wrapper.getAvailableAddressesAsync();
|
||||
const usedAddresses = ([owner, makerAddress, takerAddress, feeRecipientAddress, otherAddress] = accounts);
|
||||
const usedAddresses = ([owner, makerAddress, takerAddress, feeRecipientAddress] = accounts);
|
||||
|
||||
const txHash = await web3Wrapper.sendTransactionAsync({ from: accounts[0], to: accounts[0], value: 0 });
|
||||
const transaction = await web3Wrapper.getTransactionByHashAsync(txHash);
|
||||
|
||||
@@ -3,6 +3,7 @@ export * from '../../generated-wrappers/erc20_proxy';
|
||||
export * from '../../generated-wrappers/erc721_proxy';
|
||||
export * from '../../generated-wrappers/exchange';
|
||||
export * from '../../generated-wrappers/mixin_authorizable';
|
||||
export * from '../../generated-wrappers/order_matcher';
|
||||
export * from '../../generated-wrappers/order_validator';
|
||||
export * from '../../generated-wrappers/test_asset_proxy_dispatcher';
|
||||
export * from '../../generated-wrappers/test_asset_proxy_owner';
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"./generated-artifacts/Exchange.json",
|
||||
"./generated-artifacts/MixinAuthorizable.json",
|
||||
"./generated-artifacts/MultiAssetProxy.json",
|
||||
"./generated-artifacts/OrderMatcher.json",
|
||||
"./generated-artifacts/OrderValidator.json",
|
||||
"./generated-artifacts/TestAssetProxyDispatcher.json",
|
||||
"./generated-artifacts/TestAssetProxyOwner.json",
|
||||
|
||||
@@ -29,6 +29,7 @@ export const constants = {
|
||||
MAX_TOKEN_TRANSFERFROM_GAS: 80000,
|
||||
MAX_TOKEN_APPROVE_GAS: 60000,
|
||||
MAX_TRANSFER_FROM_GAS: 150000,
|
||||
MAX_MATCH_ORDERS_GAS: 400000,
|
||||
DUMMY_TOKEN_NAME: '',
|
||||
DUMMY_TOKEN_SYMBOL: '',
|
||||
DUMMY_TOKEN_DECIMALS: new BigNumber(18),
|
||||
|
||||
Reference in New Issue
Block a user