aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/contract_wrappers.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-10-16 08:00:48 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-10-16 08:09:35 +0800
commite093864bff4b9e6191d6ed4d7fe8ce9c60c5c367 (patch)
tree0d0a7b05745e54aaea0006ae30676b0d5e210c2d /packages/contract-wrappers/src/contract_wrappers.ts
parent38b146c395429f860f57fa1865e01175eee39e62 (diff)
downloaddexon-0x-contracts-e093864bff4b9e6191d6ed4d7fe8ce9c60c5c367.tar.gz
dexon-0x-contracts-e093864bff4b9e6191d6ed4d7fe8ce9c60c5c367.tar.zst
dexon-0x-contracts-e093864bff4b9e6191d6ed4d7fe8ce9c60c5c367.zip
Update json-schemas for contract-wrappers
Diffstat (limited to 'packages/contract-wrappers/src/contract_wrappers.ts')
-rw-r--r--packages/contract-wrappers/src/contract_wrappers.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers.ts b/packages/contract-wrappers/src/contract_wrappers.ts
index ebca2e99d..9802e685d 100644
--- a/packages/contract-wrappers/src/contract_wrappers.ts
+++ b/packages/contract-wrappers/src/contract_wrappers.ts
@@ -21,8 +21,6 @@ import { ExchangeWrapper } from './contract_wrappers/exchange_wrapper';
import { ForwarderWrapper } from './contract_wrappers/forwarder_wrapper';
import { OrderValidatorWrapper } from './contract_wrappers/order_validator_wrapper';
import { ContractWrappersConfigSchema } from './schemas/contract_wrappers_config_schema';
-import { contractWrappersPrivateNetworkConfigSchema } from './schemas/contract_wrappers_private_network_config_schema';
-import { contractWrappersPublicNetworkConfigSchema } from './schemas/contract_wrappers_public_network_config_schema';
import { ContractWrappersConfig } from './types';
import { assert } from './utils/assert';
import { constants } from './utils/constants';
@@ -78,10 +76,7 @@ export class ContractWrappers {
*/
constructor(provider: Provider, config: ContractWrappersConfig) {
assert.isWeb3Provider('provider', provider);
- assert.doesConformToSchema('config', config, ContractWrappersConfigSchema, [
- contractWrappersPrivateNetworkConfigSchema,
- contractWrappersPublicNetworkConfigSchema,
- ]);
+ assert.doesConformToSchema('config', config, ContractWrappersConfigSchema);
const txDefaults = {
gasPrice: config.gasPrice,
};