Skip to content

Commit

Permalink
Change event handler websocket port number: 6000 -> 5100
Browse files Browse the repository at this point in the history
  • Loading branch information
platfowner committed Apr 19, 2024
1 parent 59931b4 commit bd96337
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion blockchain-configs/afan-shard/node_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ENABLE_TX_SIG_VERIF_WORKAROUND": false,
"EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS": 15000,
"EVENT_HANDLER_HEARTBEAT_INTERVAL_MS": 15000,
"EVENT_HANDLER_PORT": 6000,
"EVENT_HANDLER_PORT": 5100,
"EXPRESS_RATE_LIMIT_WINDOW_SECS": 60,
"FREE_TX_POOL_SIZE_LIMIT_RATIO": 0.1,
"FREE_TX_POOL_SIZE_LIMIT_RATIO_PER_ACCOUNT": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion blockchain-configs/base/node_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ENABLE_TX_SIG_VERIF_WORKAROUND": false,
"EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS": 100000,
"EVENT_HANDLER_HEARTBEAT_INTERVAL_MS": 15000,
"EVENT_HANDLER_PORT": 6000,
"EVENT_HANDLER_PORT": 5100,
"EXPRESS_RATE_LIMIT_WINDOW_SECS": 60,
"FREE_TX_POOL_SIZE_LIMIT_RATIO": 0.1,
"FREE_TX_POOL_SIZE_LIMIT_RATIO_PER_ACCOUNT": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion blockchain-configs/he-shard/node_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ENABLE_TX_SIG_VERIF_WORKAROUND": false,
"EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS": 15000,
"EVENT_HANDLER_HEARTBEAT_INTERVAL_MS": 15000,
"EVENT_HANDLER_PORT": 6000,
"EVENT_HANDLER_PORT": 5100,
"EXPRESS_RATE_LIMIT_WINDOW_SECS": 60,
"FREE_TX_POOL_SIZE_LIMIT_RATIO": 0.1,
"FREE_TX_POOL_SIZE_LIMIT_RATIO_PER_ACCOUNT": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion blockchain-configs/mainnet-prod/node_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ENABLE_TX_SIG_VERIF_WORKAROUND": false,
"EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS": 100000,
"EVENT_HANDLER_HEARTBEAT_INTERVAL_MS": 15000,
"EVENT_HANDLER_PORT": 6000,
"EVENT_HANDLER_PORT": 5100,
"EXPRESS_RATE_LIMIT_WINDOW_SECS": 60,
"FREE_TX_POOL_SIZE_LIMIT_RATIO": 0.1,
"FREE_TX_POOL_SIZE_LIMIT_RATIO_PER_ACCOUNT": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion blockchain-configs/sim-shard/node_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ENABLE_TX_SIG_VERIF_WORKAROUND": false,
"EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS": 100000,
"EVENT_HANDLER_HEARTBEAT_INTERVAL_MS": 15000,
"EVENT_HANDLER_PORT": 6000,
"EVENT_HANDLER_PORT": 5100,
"EXPRESS_RATE_LIMIT_WINDOW_SECS": 60,
"FREE_TX_POOL_SIZE_LIMIT_RATIO": 0.1,
"FREE_TX_POOL_SIZE_LIMIT_RATIO_PER_ACCOUNT": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion blockchain-configs/testnet-dev/node_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ENABLE_TX_SIG_VERIF_WORKAROUND": false,
"EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS": 100000,
"EVENT_HANDLER_HEARTBEAT_INTERVAL_MS": 15000,
"EVENT_HANDLER_PORT": 6000,
"EVENT_HANDLER_PORT": 5100,
"EXPRESS_RATE_LIMIT_WINDOW_SECS": 60,
"FREE_TX_POOL_SIZE_LIMIT_RATIO": 0.1,
"FREE_TX_POOL_SIZE_LIMIT_RATIO_PER_ACCOUNT": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion blockchain-configs/testnet-exp/node_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ENABLE_TX_SIG_VERIF_WORKAROUND": false,
"EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS": 100000,
"EVENT_HANDLER_HEARTBEAT_INTERVAL_MS": 15000,
"EVENT_HANDLER_PORT": 6000,
"EVENT_HANDLER_PORT": 5100,
"EXPRESS_RATE_LIMIT_WINDOW_SECS": 60,
"FREE_TX_POOL_SIZE_LIMIT_RATIO": 0.1,
"FREE_TX_POOL_SIZE_LIMIT_RATIO_PER_ACCOUNT": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion blockchain-configs/testnet-prod/node_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ENABLE_TX_SIG_VERIF_WORKAROUND": false,
"EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS": 100000,
"EVENT_HANDLER_HEARTBEAT_INTERVAL_MS": 15000,
"EVENT_HANDLER_PORT": 6000,
"EVENT_HANDLER_PORT": 5100,
"EXPRESS_RATE_LIMIT_WINDOW_SECS": 60,
"FREE_TX_POOL_SIZE_LIMIT_RATIO": 0.1,
"FREE_TX_POOL_SIZE_LIMIT_RATIO_PER_ACCOUNT": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion blockchain-configs/testnet-sandbox/node_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ENABLE_TX_SIG_VERIF_WORKAROUND": false,
"EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS": 100000,
"EVENT_HANDLER_HEARTBEAT_INTERVAL_MS": 15000,
"EVENT_HANDLER_PORT": 6000,
"EVENT_HANDLER_PORT": 5100,
"EXPRESS_RATE_LIMIT_WINDOW_SECS": 60,
"FREE_TX_POOL_SIZE_LIMIT_RATIO": 0.1,
"FREE_TX_POOL_SIZE_LIMIT_RATIO_PER_ACCOUNT": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion blockchain-configs/testnet-staging/node_params.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ENABLE_TX_SIG_VERIF_WORKAROUND": false,
"EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS": 100000,
"EVENT_HANDLER_HEARTBEAT_INTERVAL_MS": 15000,
"EVENT_HANDLER_PORT": 6000,
"EVENT_HANDLER_PORT": 5100,
"EXPRESS_RATE_LIMIT_WINDOW_SECS": 60,
"FREE_TX_POOL_SIZE_LIMIT_RATIO": 0.1,
"FREE_TX_POOL_SIZE_LIMIT_RATIO_PER_ACCOUNT": 0.1,
Expand Down
2 changes: 1 addition & 1 deletion test/integration/event_handler.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const ENV_VARIABLES = [
UNSAFE_PRIVATE_KEY: '41e6e5718188ce9afd25e4b386482ac2c5272c49a622d8d217887bce21dce560',
BLOCKCHAIN_CONFIGS_DIR: 'blockchain-configs/3-nodes', PORT: 8083, P2P_PORT: 5003,
ENABLE_GAS_FEE_WORKAROUND: true, ENABLE_EXPRESS_RATE_LIMIT: false,
ENABLE_EVENT_HANDLER: true, EVENT_HANDLER_PORT: 6000,
ENABLE_EVENT_HANDLER: true, EVENT_HANDLER_PORT: 5100,
// NOTE(ehgmsdk20): Epoch time for test nodes is 1000ms, so set
// EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS = 5 * epoch_ms = 5000
EVENT_HANDLER_FILTER_DELETION_TIMEOUT_MS: 5000,
Expand Down

0 comments on commit bd96337

Please sign in to comment.