diff options
author | Fabio Berger <me@fabioberger.com> | 2018-09-05 03:22:32 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-09-05 03:22:32 +0800 |
commit | 3463903d02957a0a101c8947d315440f7fa9470e (patch) | |
tree | bdf72d1506260f32fd50f77722f742c005ebbb07 /packages/migrations/src | |
parent | 4061723863cabd9094b487fffd5fdc1905baf429 (diff) | |
parent | 603e8aa671be83fb334bb7719e772c151b4b5fc1 (diff) | |
download | dexon-sol-tools-3463903d02957a0a101c8947d315440f7fa9470e.tar dexon-sol-tools-3463903d02957a0a101c8947d315440f7fa9470e.tar.gz dexon-sol-tools-3463903d02957a0a101c8947d315440f7fa9470e.tar.bz2 dexon-sol-tools-3463903d02957a0a101c8947d315440f7fa9470e.tar.lz dexon-sol-tools-3463903d02957a0a101c8947d315440f7fa9470e.tar.xz dexon-sol-tools-3463903d02957a0a101c8947d315440f7fa9470e.tar.zst dexon-sol-tools-3463903d02957a0a101c8947d315440f7fa9470e.zip |
Merge branch 'deployment/2.0.0-beta-testnet/ropsten' of github.com:0xProject/0x-monorepo into deployment/2.0.0-beta-testnet/ropsten
* 'deployment/2.0.0-beta-testnet/ropsten' of github.com:0xProject/0x-monorepo:
Revert the exchange address change
Tslint magic-number
Diffstat (limited to 'packages/migrations/src')
-rw-r--r-- | packages/migrations/src/2.0.0-beta-testnet/migration.ts | 2 |
1 files changed, 2 insertions, 0 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 66bc79239..62a16ddae 100644 --- a/packages/migrations/src/2.0.0-beta-testnet/migration.ts +++ b/packages/migrations/src/2.0.0-beta-testnet/migration.ts @@ -17,6 +17,7 @@ import { ExchangeContract } from './contract_wrappers/exchange'; import { ForwarderContract } from './contract_wrappers/forwarder'; import { OrderValidatorContract } from './contract_wrappers/order_validator'; +// tslint:disable-next-line:custom-no-magic-numbers const ERC20_TOTAL_SUPPLY = new BigNumber(1000000000000000000000000000); /** @@ -144,6 +145,7 @@ export const runV2TestnetMigrationsAsync = async ( // Set enough ZRX Balance to the Forwarder const maxZRXMintAmount = await zrxToken.MAX_MINT_AMOUNT.callAsync(); + // tslint:disable-next-line:custom-no-magic-numbers const forwarderZRXBalance = maxZRXMintAmount.times(10); txHash = await zrxToken.setBalance.sendTransactionAsync(forwarder.address, forwarderZRXBalance); await web3Wrapper.awaitTransactionSuccessAsync(txHash); |