diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-26 03:36:56 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-26 03:36:56 +0800 |
commit | 7fc0fd9fb69a77a4a3269b32e59eb8ab458bf30a (patch) | |
tree | 2eb76b7c45b572255f7cd500f4b82e001c6a182c /packages/migrations/src | |
parent | a0db69ee05902faa291a317e58d0dd5289e6feda (diff) | |
download | dexon-sol-tools-7fc0fd9fb69a77a4a3269b32e59eb8ab458bf30a.tar.gz dexon-sol-tools-7fc0fd9fb69a77a4a3269b32e59eb8ab458bf30a.tar.zst dexon-sol-tools-7fc0fd9fb69a77a4a3269b32e59eb8ab458bf30a.zip |
Prettier fixes
Diffstat (limited to 'packages/migrations/src')
-rw-r--r-- | packages/migrations/src/2.0.0-beta-testnet/migration.ts | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/packages/migrations/src/2.0.0-beta-testnet/migration.ts b/packages/migrations/src/2.0.0-beta-testnet/migration.ts index f74d16906..19fe5f02c 100644 --- a/packages/migrations/src/2.0.0-beta-testnet/migration.ts +++ b/packages/migrations/src/2.0.0-beta-testnet/migration.ts @@ -43,21 +43,22 @@ export const runV2TestnetMigrationsAsync = async ( // Deploy Exchange const zrxAddressOnKovan = '0x6ff6c0ff1d68b964901f986d4c9fa3ac68346570'; const zrxAssetData = assetDataUtils.encodeERC20AssetData(zrxAddressOnKovan); - const exchange = await ExchangeContract.deployFrom0xArtifactAsync(artifacts.Exchange, provider, txDefaults, zrxAssetData); + const exchange = await ExchangeContract.deployFrom0xArtifactAsync( + artifacts.Exchange, + provider, + txDefaults, + zrxAssetData, + ); artifactsWriter.saveArtifact(exchange); let txHash; // Register AssetProxies in Exchange - txHash = await exchange.registerAssetProxy.sendTransactionAsync( - erc20proxy.address, - ); + txHash = await exchange.registerAssetProxy.sendTransactionAsync(erc20proxy.address); logUtils.log(`transactionHash: ${txHash}`); logUtils.log('Registering ERC20Proxy'); await web3Wrapper.awaitTransactionSuccessAsync(txHash); - txHash = await exchange.registerAssetProxy.sendTransactionAsync( - erc721proxy.address, - ); + txHash = await exchange.registerAssetProxy.sendTransactionAsync(erc721proxy.address); logUtils.log(`transactionHash: ${txHash}`); logUtils.log('Registering ERC721Proxy'); await web3Wrapper.awaitTransactionSuccessAsync(txHash); |