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),
|
||||
takerFeeAssetData: assetDataUtils.encodeERC20AssetData(contractAddresses.zrxToken),
|
||||
domain: {
|
||||
verifyingContractAddress: contractAddresses.exchange,
|
||||
verifyingContract: contractAddresses.exchange,
|
||||
chainId: networkId,
|
||||
},
|
||||
};
|
||||
|
@ -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: {},
|
||||
|
@ -26,7 +26,7 @@ export const ordersResponse: OrdersResponse = {
|
||||
signature: '0x012761a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc33',
|
||||
domain: {
|
||||
chainId: 1,
|
||||
verifyingContractAddress: '0x12459c951127e0c374ff9105dda097662a027093',
|
||||
verifyingContract: '0x12459c951127e0c374ff9105dda097662a027093',
|
||||
},
|
||||
},
|
||||
metaData: {},
|
||||
|
@ -102,7 +102,7 @@ describe.skip('CoordinatorWrapper', () => {
|
||||
takerFeeAssetData: feeAssetData,
|
||||
senderAddress: contractAddresses.coordinator,
|
||||
domain: {
|
||||
verifyingContractAddress: exchangeContractAddress,
|
||||
verifyingContract: exchangeContractAddress,
|
||||
chainId,
|
||||
},
|
||||
};
|
||||
|
@ -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),
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user