diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-13 06:10:18 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 04:38:59 +0800 |
commit | 003ab1e5b311bfedcffce07f03035e42736a47af (patch) | |
tree | 04354ebeaecbdd9f8380f0ed8370cbc80510763d /packages/contract-wrappers | |
parent | 24673be1cd2ec0b86ecb9b8b5eb8f69197e763d1 (diff) | |
download | dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar.gz dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar.bz2 dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar.lz dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar.xz dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar.zst dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.zip |
Fix linter errors in contract-wrappers
Diffstat (limited to 'packages/contract-wrappers')
3 files changed, 4 insertions, 5 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers.ts b/packages/contract-wrappers/src/contract_wrappers.ts index 8cb322912..ebca2e99d 100644 --- a/packages/contract-wrappers/src/contract_wrappers.ts +++ b/packages/contract-wrappers/src/contract_wrappers.ts @@ -1,4 +1,3 @@ -import { getContractAddressesForNetwork } from '@0xproject/contract-addresses'; import { ERC20Proxy, ERC20Token, diff --git a/packages/contract-wrappers/src/utils/contract_addresses.ts b/packages/contract-wrappers/src/utils/contract_addresses.ts index c32907c24..cd0d31308 100644 --- a/packages/contract-wrappers/src/utils/contract_addresses.ts +++ b/packages/contract-wrappers/src/utils/contract_addresses.ts @@ -1,8 +1,10 @@ import { ContractAddresses, getContractAddressesForNetwork, NetworkId } from '@0xproject/contract-addresses'; import * as _ from 'lodash'; -// Returns the default contract addresses for the given networkId or throws with -// a context-specific error message if the networkId is not recognized. +/** + * Returns the default contract addresses for the given networkId or throws with + * a context-specific error message if the networkId is not recognized. + */ export function _getDefaultContractAddresses(networkId: number): ContractAddresses { if (!(networkId in NetworkId)) { throw new Error( diff --git a/packages/contract-wrappers/test/revert_validation_test.ts b/packages/contract-wrappers/test/revert_validation_test.ts index 4f55c75a6..f5f8be6c3 100644 --- a/packages/contract-wrappers/test/revert_validation_test.ts +++ b/packages/contract-wrappers/test/revert_validation_test.ts @@ -20,9 +20,7 @@ const expect = chai.expect; describe('Revert Validation ExchangeWrapper', () => { let contractWrappers: ContractWrappers; let userAddresses: string[]; - let zrxTokenAddress: string; let fillScenarios: FillScenarios; - let exchangeContractAddress: string; let makerTokenAddress: string; let takerTokenAddress: string; let makerAddress: string; |