Add networkId to zeroExConfig schema

This commit is contained in:
Leonid Logvinov
2017-11-21 16:08:24 -06:00
parent 311d42626a
commit 45c9171a2c

View File

@@ -1,6 +1,10 @@
export const zeroExConfigSchema = {
id: '/ZeroExConfig',
properties: {
networkId: {
type: 'number',
minimum: 0,
},
gasPrice: {$ref: '/Number'},
exchangeContractAddress: {$ref: '/Address'},
tokenRegistryContractAddress: {$ref: '/Address'},
@@ -20,4 +24,5 @@ export const zeroExConfigSchema = {
},
},
type: 'object',
required: ['networkId'],
};