Fix lingering cases of verifyingContractAddress

This commit is contained in:
Amir Bandeali 2019-09-23 17:56:42 -07:00
parent ae75aed55e
commit 04eab19f15
6 changed files with 7 additions and 7 deletions

View File

@ -83,7 +83,7 @@ describe('ExchangeSwapQuoteConsumer', () => {
makerFeeAssetData: assetDataUtils.encodeERC20AssetData(contractAddresses.zrxToken),
takerFeeAssetData: assetDataUtils.encodeERC20AssetData(contractAddresses.zrxToken),
domain: {
verifyingContractAddress: contractAddresses.exchange,
verifyingContract: contractAddresses.exchange,
chainId: networkId,
},
};

View File

@ -27,7 +27,7 @@ export const orderbookResponse: OrderbookResponse = {
signature: '0x012761a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc33',
domain: {
chainId: 1,
verifyingContractAddress: '0x12459c951127e0c374ff9105dda097662a027093',
verifyingContract: '0x12459c951127e0c374ff9105dda097662a027093',
},
},
metaData: {},
@ -58,7 +58,7 @@ export const orderbookResponse: OrderbookResponse = {
signature: '0x013842a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b3518891',
domain: {
chainId: 1,
verifyingContractAddress: '0x12459c951127e0c374ff9105dda097662a027093',
verifyingContract: '0x12459c951127e0c374ff9105dda097662a027093',
},
},
metaData: {},

View File

@ -26,7 +26,7 @@ export const ordersResponse: OrdersResponse = {
signature: '0x012761a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc33',
domain: {
chainId: 1,
verifyingContractAddress: '0x12459c951127e0c374ff9105dda097662a027093',
verifyingContract: '0x12459c951127e0c374ff9105dda097662a027093',
},
},
metaData: {},

View File

@ -102,7 +102,7 @@ describe.skip('CoordinatorWrapper', () => {
takerFeeAssetData: feeAssetData,
senderAddress: contractAddresses.coordinator,
domain: {
verifyingContractAddress: exchangeContractAddress,
verifyingContract: exchangeContractAddress,
chainId,
},
};

View File

@ -12,7 +12,7 @@ export const createOrder = (makerAssetData: string, takerAssetData: string): API
takerFeeAssetData: takerAssetData,
domain: {
chainId: 0,
verifyingContractAddress: '0x00',
verifyingContract: '0x00',
},
senderAddress: '0x00',
makerAssetAmount: new BigNumber(1),

View File

@ -183,7 +183,7 @@ export class Handler {
.div(1000)
.integerValue(BigNumber.ROUND_FLOOR),
domain: {
verifyingContractAddress: networkConfig.contractWrappers.exchange.address,
verifyingContract: networkConfig.contractWrappers.exchange.address,
chainId: networkConfig.networkId,
},
};