Update to latest Coordinator Config
This commit is contained in:
@@ -99,7 +99,7 @@ describe('CoordinatorWrapper', () => {
|
|||||||
const coordinatorServerConfigs = {
|
const coordinatorServerConfigs = {
|
||||||
HTTP_PORT: 3000, // Only used in default instantiation in 0x-coordinator-server/server.js; not used here
|
HTTP_PORT: 3000, // Only used in default instantiation in 0x-coordinator-server/server.js; not used here
|
||||||
NETWORK_ID_TO_SETTINGS: {
|
NETWORK_ID_TO_SETTINGS: {
|
||||||
50: {
|
[config.networkId]: {
|
||||||
FEE_RECIPIENTS: [
|
FEE_RECIPIENTS: [
|
||||||
{
|
{
|
||||||
ADDRESS: feeRecipientAddressOne,
|
ADDRESS: feeRecipientAddressOne,
|
||||||
@@ -125,6 +125,9 @@ describe('CoordinatorWrapper', () => {
|
|||||||
RPC_URL: 'http://ignore',
|
RPC_URL: 'http://ignore',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
NETWORK_ID_TO_CONTRACT_ADDRESSES: {
|
||||||
|
[config.networkId]: contractAddresses,
|
||||||
|
},
|
||||||
// Optional selective delay on fill requests
|
// Optional selective delay on fill requests
|
||||||
SELECTIVE_DELAY_MS: 0,
|
SELECTIVE_DELAY_MS: 0,
|
||||||
EXPIRATION_DURATION_SECONDS: 60, // 1 minute
|
EXPIRATION_DURATION_SECONDS: 60, // 1 minute
|
||||||
@@ -134,7 +137,15 @@ describe('CoordinatorWrapper', () => {
|
|||||||
[config.networkId]: provider,
|
[config.networkId]: provider,
|
||||||
},
|
},
|
||||||
coordinatorServerConfigs,
|
coordinatorServerConfigs,
|
||||||
defaultOrmConfig,
|
{
|
||||||
|
name: 'coord_server_1',
|
||||||
|
type: 'sqlite',
|
||||||
|
database: ':memory:',
|
||||||
|
entities: defaultOrmConfig.entities,
|
||||||
|
cli: defaultOrmConfig.cli,
|
||||||
|
logging: defaultOrmConfig.logging,
|
||||||
|
synchronize: defaultOrmConfig.synchronize,
|
||||||
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
coordinatorServerApp.listen(coordinatorPort, () => {
|
coordinatorServerApp.listen(coordinatorPort, () => {
|
||||||
@@ -148,7 +159,8 @@ describe('CoordinatorWrapper', () => {
|
|||||||
coordinatorServerConfigs,
|
coordinatorServerConfigs,
|
||||||
{
|
{
|
||||||
type: 'sqlite',
|
type: 'sqlite',
|
||||||
database: 'database.sqlite_2',
|
name: 'coord_server_2',
|
||||||
|
database: ':memory:',
|
||||||
entities: defaultOrmConfig.entities,
|
entities: defaultOrmConfig.entities,
|
||||||
cli: defaultOrmConfig.cli,
|
cli: defaultOrmConfig.cli,
|
||||||
logging: defaultOrmConfig.logging,
|
logging: defaultOrmConfig.logging,
|
||||||
|
Reference in New Issue
Block a user