diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-11 07:04:37 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 04:38:33 +0800 |
commit | 974ec23ecd2a445523e0550c0a7f69329d6959f1 (patch) | |
tree | 25ac0cd42c86eb8d6149064880656da340d92719 /packages/testnet-faucets | |
parent | 68f150eff2c4afeccf7eee43e9f40297f88fc8dd (diff) | |
download | dexon-sol-tools-974ec23ecd2a445523e0550c0a7f69329d6959f1.tar dexon-sol-tools-974ec23ecd2a445523e0550c0a7f69329d6959f1.tar.gz dexon-sol-tools-974ec23ecd2a445523e0550c0a7f69329d6959f1.tar.bz2 dexon-sol-tools-974ec23ecd2a445523e0550c0a7f69329d6959f1.tar.lz dexon-sol-tools-974ec23ecd2a445523e0550c0a7f69329d6959f1.tar.xz dexon-sol-tools-974ec23ecd2a445523e0550c0a7f69329d6959f1.tar.zst dexon-sol-tools-974ec23ecd2a445523e0550c0a7f69329d6959f1.zip |
Apply various PR feedback
Diffstat (limited to 'packages/testnet-faucets')
-rw-r--r-- | packages/testnet-faucets/package.json | 1 | ||||
-rw-r--r-- | packages/testnet-faucets/src/ts/handler.ts | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/packages/testnet-faucets/package.json b/packages/testnet-faucets/package.json index cd56c1395..a113889cc 100644 --- a/packages/testnet-faucets/package.json +++ b/packages/testnet-faucets/package.json @@ -19,7 +19,6 @@ "license": "Apache-2.0", "dependencies": { "0x.js": "^1.0.8", - "@0xproject/contract-addresses": "^1.0.0", "@0xproject/subproviders": "^2.0.7", "@0xproject/typescript-typings": "^3.0.2", "@0xproject/utils": "^2.0.2", diff --git a/packages/testnet-faucets/src/ts/handler.ts b/packages/testnet-faucets/src/ts/handler.ts index 262f6d889..5cc52e489 100644 --- a/packages/testnet-faucets/src/ts/handler.ts +++ b/packages/testnet-faucets/src/ts/handler.ts @@ -11,7 +11,6 @@ import { SignedOrder, Web3ProviderEngine, } from '0x.js'; -import { getContractAddressesForNetwork } from '@0xproject/contract-addresses'; import { NonceTrackerSubprovider, PrivateKeyWalletSubprovider } from '@0xproject/subproviders'; import { logUtils } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; @@ -68,7 +67,6 @@ export class Handler { const networkId = parseInt(networkIdString, 10); const contractWrappersConfig = { networkId, - contractAddresses: getContractAddressesForNetwork(networkId), }; const contractWrappers = new ContractWrappers(providerObj, contractWrappersConfig); const dispatchQueue = new DispatchQueue(); |