aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-03 20:59:01 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 21:05:58 +0800
commitbcf8d518069e816f451c9ecbc12522722322400a (patch)
tree9cf7e9b449780514ea1e4bd3a96a91939c6174e3 /packages
parent66c0d6724a2e3a0e3c1cd34136eb483a9442a685 (diff)
downloaddexon-0x-contracts-bcf8d518069e816f451c9ecbc12522722322400a.tar.gz
dexon-0x-contracts-bcf8d518069e816f451c9ecbc12522722322400a.tar.zst
dexon-0x-contracts-bcf8d518069e816f451c9ecbc12522722322400a.zip
Add blockPollingIntervalMs as an optional field to contract-wrappers config schemas
Diffstat (limited to 'packages')
-rw-r--r--packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts1
-rw-r--r--packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts b/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts
index 759078feb..4b68daf1a 100644
--- a/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts
+++ b/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts
@@ -10,6 +10,7 @@ export const contractWrappersPrivateNetworkConfigSchema = {
exchangeContractAddress: { $ref: '/Address' },
tokenRegistryContractAddress: { $ref: '/Address' },
tokenTransferProxyContractAddress: { $ref: '/Address' },
+ blockPollingIntervalMs: { type: 'number' },
orderWatcherConfig: {
type: 'object',
properties: {
diff --git a/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts b/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts
index 304cd100b..988872376 100644
--- a/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts
+++ b/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts
@@ -24,6 +24,7 @@ export const contractWrappersPublicNetworkConfigSchema = {
exchangeContractAddress: { $ref: '/Address' },
tokenRegistryContractAddress: { $ref: '/Address' },
tokenTransferProxyContractAddress: { $ref: '/Address' },
+ blockPollingIntervalMs: { type: 'number' },
orderWatcherConfig: {
type: 'object',
properties: {