diff options
author | Jacob Evans <jacob@dekz.net> | 2018-11-26 06:57:43 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-11-26 06:57:43 +0800 |
commit | 09a683557bdf8633e1e0ff85ebf8c8789f391c27 (patch) | |
tree | 06437984e8047f55bd6ad5118385d485abc202a2 /packages/migrations/src/migration.ts | |
parent | 99e92a346b134c1e91ecf02db8124614d8fd971d (diff) | |
download | dexon-sol-tools-09a683557bdf8633e1e0ff85ebf8c8789f391c27.tar.gz dexon-sol-tools-09a683557bdf8633e1e0ff85ebf8c8789f391c27.tar.zst dexon-sol-tools-09a683557bdf8633e1e0ff85ebf8c8789f391c27.zip |
chore: Update CHANGELOGS use mainnet ZRX amount in Forwarder.
Diffstat (limited to 'packages/migrations/src/migration.ts')
-rw-r--r-- | packages/migrations/src/migration.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/migrations/src/migration.ts b/packages/migrations/src/migration.ts index e4febb1f8..c684c4970 100644 --- a/packages/migrations/src/migration.ts +++ b/packages/migrations/src/migration.ts @@ -142,8 +142,10 @@ export async function runMigrationsAsync(provider: Provider, txDefaults: Partial ); // Fund the Forwarder with ZRX + const zrxDecimals = await zrxToken.decimals.callAsync(); + const zrxForwarderAmount = Web3Wrapper.toBaseUnitAmount(new BigNumber(5000), zrxDecimals); await web3Wrapper.awaitTransactionSuccessAsync( - await zrxToken.transfer.sendTransactionAsync(forwarder.address, new BigNumber(1000000000000000000), txDefaults), + await zrxToken.transfer.sendTransactionAsync(forwarder.address, zrxForwarderAmount, txDefaults), ); return { |