Fix lingering cases of verifyingContractAddress
This commit is contained in:
parent
ae75aed55e
commit
04eab19f15
@ -83,7 +83,7 @@ describe('ExchangeSwapQuoteConsumer', () => {
|
|||||||
makerFeeAssetData: assetDataUtils.encodeERC20AssetData(contractAddresses.zrxToken),
|
makerFeeAssetData: assetDataUtils.encodeERC20AssetData(contractAddresses.zrxToken),
|
||||||
takerFeeAssetData: assetDataUtils.encodeERC20AssetData(contractAddresses.zrxToken),
|
takerFeeAssetData: assetDataUtils.encodeERC20AssetData(contractAddresses.zrxToken),
|
||||||
domain: {
|
domain: {
|
||||||
verifyingContractAddress: contractAddresses.exchange,
|
verifyingContract: contractAddresses.exchange,
|
||||||
chainId: networkId,
|
chainId: networkId,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -27,7 +27,7 @@ export const orderbookResponse: OrderbookResponse = {
|
|||||||
signature: '0x012761a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc33',
|
signature: '0x012761a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc33',
|
||||||
domain: {
|
domain: {
|
||||||
chainId: 1,
|
chainId: 1,
|
||||||
verifyingContractAddress: '0x12459c951127e0c374ff9105dda097662a027093',
|
verifyingContract: '0x12459c951127e0c374ff9105dda097662a027093',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
metaData: {},
|
metaData: {},
|
||||||
@ -58,7 +58,7 @@ export const orderbookResponse: OrderbookResponse = {
|
|||||||
signature: '0x013842a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b3518891',
|
signature: '0x013842a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b3518891',
|
||||||
domain: {
|
domain: {
|
||||||
chainId: 1,
|
chainId: 1,
|
||||||
verifyingContractAddress: '0x12459c951127e0c374ff9105dda097662a027093',
|
verifyingContract: '0x12459c951127e0c374ff9105dda097662a027093',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
metaData: {},
|
metaData: {},
|
||||||
|
@ -26,7 +26,7 @@ export const ordersResponse: OrdersResponse = {
|
|||||||
signature: '0x012761a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc33',
|
signature: '0x012761a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc33',
|
||||||
domain: {
|
domain: {
|
||||||
chainId: 1,
|
chainId: 1,
|
||||||
verifyingContractAddress: '0x12459c951127e0c374ff9105dda097662a027093',
|
verifyingContract: '0x12459c951127e0c374ff9105dda097662a027093',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
metaData: {},
|
metaData: {},
|
||||||
|
@ -102,7 +102,7 @@ describe.skip('CoordinatorWrapper', () => {
|
|||||||
takerFeeAssetData: feeAssetData,
|
takerFeeAssetData: feeAssetData,
|
||||||
senderAddress: contractAddresses.coordinator,
|
senderAddress: contractAddresses.coordinator,
|
||||||
domain: {
|
domain: {
|
||||||
verifyingContractAddress: exchangeContractAddress,
|
verifyingContract: exchangeContractAddress,
|
||||||
chainId,
|
chainId,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -12,7 +12,7 @@ export const createOrder = (makerAssetData: string, takerAssetData: string): API
|
|||||||
takerFeeAssetData: takerAssetData,
|
takerFeeAssetData: takerAssetData,
|
||||||
domain: {
|
domain: {
|
||||||
chainId: 0,
|
chainId: 0,
|
||||||
verifyingContractAddress: '0x00',
|
verifyingContract: '0x00',
|
||||||
},
|
},
|
||||||
senderAddress: '0x00',
|
senderAddress: '0x00',
|
||||||
makerAssetAmount: new BigNumber(1),
|
makerAssetAmount: new BigNumber(1),
|
||||||
|
@ -183,7 +183,7 @@ export class Handler {
|
|||||||
.div(1000)
|
.div(1000)
|
||||||
.integerValue(BigNumber.ROUND_FLOOR),
|
.integerValue(BigNumber.ROUND_FLOOR),
|
||||||
domain: {
|
domain: {
|
||||||
verifyingContractAddress: networkConfig.contractWrappers.exchange.address,
|
verifyingContract: networkConfig.contractWrappers.exchange.address,
|
||||||
chainId: networkConfig.networkId,
|
chainId: networkConfig.networkId,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user