From ba0f07e3b24ab8a1bd5e61e39d886de834602192 Mon Sep 17 00:00:00 2001 From: fabioberger Date: Thu, 7 Nov 2019 16:34:24 +0000 Subject: [PATCH] Fix prettier issues --- .../test/utils/exchange_transfer_simulator.ts | 2 +- .../exchange/test/utils/fill_order_simulator.ts | 14 +++----------- packages/migrations/src/migration.ts | 15 ++++++++------- packages/migrations/src/test_contract_configs.ts | 7 ++++++- 4 files changed, 18 insertions(+), 20 deletions(-) diff --git a/contracts/exchange/test/utils/exchange_transfer_simulator.ts b/contracts/exchange/test/utils/exchange_transfer_simulator.ts index 53582e8836..25364154fe 100644 --- a/contracts/exchange/test/utils/exchange_transfer_simulator.ts +++ b/contracts/exchange/test/utils/exchange_transfer_simulator.ts @@ -1,6 +1,6 @@ import { DevUtilsContract } from '@0x/contracts-dev-utils'; import { constants } from '@0x/contracts-test-utils'; -import { SupportedProvider} from '@0x/order-utils'; +import { SupportedProvider } from '@0x/order-utils'; import { AssetProxyId, ExchangeContractErrs } from '@0x/types'; import { BigNumber } from '@0x/utils'; diff --git a/contracts/exchange/test/utils/fill_order_simulator.ts b/contracts/exchange/test/utils/fill_order_simulator.ts index b433eb44d6..0254c584d1 100644 --- a/contracts/exchange/test/utils/fill_order_simulator.ts +++ b/contracts/exchange/test/utils/fill_order_simulator.ts @@ -1,20 +1,12 @@ import { constants, orderUtils } from '@0x/contracts-test-utils'; -import { - Order, - SupportedProvider, -} from '@0x/order-utils'; +import { Order, SupportedProvider } from '@0x/order-utils'; import { FillResults } from '@0x/types'; import { BigNumber } from '@0x/utils'; import * as _ from 'lodash'; -import { - AbstractBalanceAndProxyAllowanceLazyStore as LazyStore, -} from './abstract/abstract_balance_and_proxy_allowance_lazy_store'; +import { AbstractBalanceAndProxyAllowanceLazyStore as LazyStore } from './abstract/abstract_balance_and_proxy_allowance_lazy_store'; import { ExchangeTransferSimulator } from './exchange_transfer_simulator'; -import { - TradeSide, - TransferType, -} from './types'; +import { TradeSide, TransferType } from './types'; export enum FillOrderError { OrderUnfillable = 'ORDER_UNFILLABLE', diff --git a/packages/migrations/src/migration.ts b/packages/migrations/src/migration.ts index 948ce9adf1..f0780cb1bc 100644 --- a/packages/migrations/src/migration.ts +++ b/packages/migrations/src/migration.ts @@ -1,6 +1,12 @@ import { ContractAddresses } from '@0x/contract-addresses'; import * as artifacts from '@0x/contract-artifacts'; -import { ERC1155ProxyContract, ERC20ProxyContract, ERC721ProxyContract, MultiAssetProxyContract, StaticCallProxyContract } from '@0x/contracts-asset-proxy'; +import { + ERC1155ProxyContract, + ERC20ProxyContract, + ERC721ProxyContract, + MultiAssetProxyContract, + StaticCallProxyContract, +} from '@0x/contracts-asset-proxy'; import { CoordinatorContract, CoordinatorRegistryContract } from '@0x/contracts-coordinator'; import { DevUtilsContract, OrderValidationUtilsContract } from '@0x/contracts-dev-utils'; import { ERC1155MintableContract } from '@0x/contracts-erc1155'; @@ -84,12 +90,7 @@ export async function runMigrationsAsync( ); // Ether token - const etherToken = await WETH9Contract.deployFrom0xArtifactAsync( - artifacts.WETH9, - provider, - txDefaults, - artifacts, - ); + const etherToken = await WETH9Contract.deployFrom0xArtifactAsync(artifacts.WETH9, provider, txDefaults, artifacts); // Exchange // tslint:disable-next-line:no-unused-variable diff --git a/packages/migrations/src/test_contract_configs.ts b/packages/migrations/src/test_contract_configs.ts index 069f7ae78d..94995f6af2 100644 --- a/packages/migrations/src/test_contract_configs.ts +++ b/packages/migrations/src/test_contract_configs.ts @@ -1,6 +1,11 @@ #!/usr/bin/env node import { getContractAddressesForChainOrThrow } from '@0x/contract-addresses'; -import { ERC1155ProxyContract, ERC20ProxyContract, ERC721ProxyContract, MultiAssetProxyContract } from '@0x/contracts-asset-proxy'; +import { + ERC1155ProxyContract, + ERC20ProxyContract, + ERC721ProxyContract, + MultiAssetProxyContract, +} from '@0x/contracts-asset-proxy'; import { ExchangeContract } from '@0x/contracts-exchange'; import { ZeroExGovernorContract } from '@0x/contracts-multisig'; import { StakingContract, StakingProxyContract, ZrxVaultContract } from '@0x/contracts-staking';