aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-18 20:53:31 +0800
committerFabio Berger <me@fabioberger.com>2018-07-18 20:53:31 +0800
commit004b1f52888602e9e1f7039c6742a08ff17da498 (patch)
tree3f7c34fcdf439a38c83122ad49f423762db762f7
parent83747934ad5801e1abcf16a8788d54b50f0a20da (diff)
downloaddexon-sol-tools-004b1f52888602e9e1f7039c6742a08ff17da498.tar
dexon-sol-tools-004b1f52888602e9e1f7039c6742a08ff17da498.tar.gz
dexon-sol-tools-004b1f52888602e9e1f7039c6742a08ff17da498.tar.bz2
dexon-sol-tools-004b1f52888602e9e1f7039c6742a08ff17da498.tar.lz
dexon-sol-tools-004b1f52888602e9e1f7039c6742a08ff17da498.tar.xz
dexon-sol-tools-004b1f52888602e9e1f7039c6742a08ff17da498.tar.zst
dexon-sol-tools-004b1f52888602e9e1f7039c6742a08ff17da498.zip
Fix prettier
-rw-r--r--packages/contracts/test/exchange/core.ts4
-rw-r--r--packages/contracts/test/utils/order_factory_from_scenario.ts8
2 files changed, 3 insertions, 9 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index 2b1d3f08a..33246a681 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -461,9 +461,7 @@ describe('Exchange core', () => {
// Construct Exchange parameters
const makerAssetId = erc721MakerAssetIds[0];
const takerAssetId = erc721TakerAssetIds[0];
- const makerAssetData = assetDataUtils
- .encodeERC721AssetData(erc721Token.address, makerAssetId)
- .slice(0, -2);
+ const makerAssetData = assetDataUtils.encodeERC721AssetData(erc721Token.address, makerAssetId).slice(0, -2);
signedOrder = await orderFactory.newSignedOrderAsync({
makerAssetAmount: new BigNumber(1),
takerAssetAmount: new BigNumber(1),
diff --git a/packages/contracts/test/utils/order_factory_from_scenario.ts b/packages/contracts/test/utils/order_factory_from_scenario.ts
index 6e1b6c67d..c1b6b0be4 100644
--- a/packages/contracts/test/utils/order_factory_from_scenario.ts
+++ b/packages/contracts/test/utils/order_factory_from_scenario.ts
@@ -78,9 +78,7 @@ export class OrderFactoryFromScenario {
makerAssetData = assetDataUtils.encodeERC20AssetData(this._zrxAddress);
break;
case AssetDataScenario.ERC20NonZRXEighteenDecimals:
- makerAssetData = assetDataUtils.encodeERC20AssetData(
- this._nonZrxERC20EighteenDecimalTokenAddresses[0],
- );
+ makerAssetData = assetDataUtils.encodeERC20AssetData(this._nonZrxERC20EighteenDecimalTokenAddresses[0]);
break;
case AssetDataScenario.ERC20FiveDecimals:
makerAssetData = assetDataUtils.encodeERC20AssetData(this._erc20FiveDecimalTokenAddresses[0]);
@@ -100,9 +98,7 @@ export class OrderFactoryFromScenario {
takerAssetData = assetDataUtils.encodeERC20AssetData(this._zrxAddress);
break;
case AssetDataScenario.ERC20NonZRXEighteenDecimals:
- takerAssetData = assetDataUtils.encodeERC20AssetData(
- this._nonZrxERC20EighteenDecimalTokenAddresses[1],
- );
+ takerAssetData = assetDataUtils.encodeERC20AssetData(this._nonZrxERC20EighteenDecimalTokenAddresses[1]);
break;
case AssetDataScenario.ERC20FiveDecimals:
takerAssetData = assetDataUtils.encodeERC20AssetData(this._erc20FiveDecimalTokenAddresses[1]);