Minor fixes after rebase

This commit is contained in:
Greg Hysen
2018-06-07 13:46:54 -07:00
parent 5bb7219f4b
commit 8ace41d144
3 changed files with 11 additions and 753 deletions

View File

@@ -226,13 +226,9 @@ describe('Asset Transfer Proxies', () => {
const amounts = _.times(numTransfers, () => amount);
return expectRevertOrAlwaysFailingTransactionAsync(
erc20Proxy.batchTransferFrom.sendTransactionAsync(
encodedAssetData,
fromAddresses,
toAddresses,
amounts,
{ from: notAuthorized },
),
erc20Proxy.batchTransferFrom.sendTransactionAsync(assetData, fromAddresses, toAddresses, amounts, {
from: notAuthorized,
}),
);
});
});
@@ -477,13 +473,9 @@ describe('Asset Transfer Proxies', () => {
const amounts = _.times(numTransfers, () => new BigNumber(1));
return expectRevertOrAlwaysFailingTransactionAsync(
erc721Proxy.batchTransferFrom.sendTransactionAsync(
encodedAssetData,
fromAddresses,
toAddresses,
amounts,
{ from: notAuthorized },
),
erc721Proxy.batchTransferFrom.sendTransactionAsync(assetData, fromAddresses, toAddresses, amounts, {
from: notAuthorized,
}),
);
});
});

View File

@@ -169,10 +169,10 @@ export class FillScenarios {
feeRecepientAddress: string,
expirationTimeSeconds?: BigNumber,
): Promise<SignedOrder> {
const makerERC20ProxyData = assetProxyUtils.decodeERC20ProxyData(makerAssetData);
const makerTokenAddress = makerERC20ProxyData.tokenAddress;
const takerERC20ProxyData = assetProxyUtils.decodeERC20ProxyData(takerAssetData);
const takerTokenAddress = takerERC20ProxyData.tokenAddress;
const makerERC20AssetData = assetProxyUtils.decodeERC20AssetData(makerAssetData);
const makerTokenAddress = makerERC20AssetData.tokenAddress;
const takerERC20AssetData = assetProxyUtils.decodeERC20AssetData(takerAssetData);
const takerTokenAddress = takerERC20AssetData.tokenAddress;
await Promise.all([
this._increaseERC20BalanceAndAllowanceAsync(makerTokenAddress, makerAddress, makerFillableAmount),
this._increaseERC20BalanceAndAllowanceAsync(takerTokenAddress, takerAddress, takerFillableAmount),

File diff suppressed because one or more lines are too long