Skip to content

Commit

Permalink
feat(eventindexer): galaxe api, 2 indexing, http only mode, event que…
Browse files Browse the repository at this point in the history
…ry optimizations (#14122)
  • Loading branch information
cyberhorsey committed Jul 7, 2023
1 parent e20c091 commit 9c6d918
Show file tree
Hide file tree
Showing 30 changed files with 5,319 additions and 229 deletions.
4 changes: 3 additions & 1 deletion packages/eventindexer/.default.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ MYSQL_MAX_IDLE_CONNS=50
MYSQL_MAX_OPEN_CONNS=3000
MYSQL_CONN_MAX_LIFETIME_IN_MS=100000
L1_TAIKO_ADDRESS=0x7B3AF414448ba906f02a1CA307C56c4ADFF27ce7
L1_RPC_URL=wss://l1ws.a2.taiko.xyz
BRIDGE_ADDRESS=0x7D992599E1B8b4508Ba6E2Ba97893b4C36C23A28
SWAP_ADDRESS=0x501f63210aE6D7Eeb50DaE74DA5Ae407515ee246
RPC_URL=wss://l1ws.a2.taiko.xyz
CORS_ORIGINS=*
BLOCK_BATCH_SIZE=10
16 changes: 16 additions & 0 deletions packages/eventindexer/.l1.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
HTTP_PORT=4100
PROMETHEUS_HTTP_PORT=6063
MYSQL_USER=root
MYSQL_PASSWORD=root
MYSQL_DATABASE=eventindexer
MYSQL_HOST=localhost:3306
MYSQL_MAX_IDLE_CONNS=50
MYSQL_MAX_OPEN_CONNS=3000
MYSQL_CONN_MAX_LIFETIME_IN_MS=100000
L1_TAIKO_ADDRESS=0x6375394335f34848b850114b66A49D6F47f2cdA8
BRIDGE_ADDRESS=0x7D992599E1B8b4508Ba6E2Ba97893b4C36C23A28
PROVER_POOL_ADDRESS=0x7D992599E1B8b4508Ba6E2Ba97893b4C36C23A28
RPC_URL=wss://l1ws.test.taiko.xyz
CORS_ORIGINS=*
BLOCK_BATCH_SIZE=100
CACHE_INTERVAL_IN_SECONDS=60
15 changes: 15 additions & 0 deletions packages/eventindexer/.l2.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
HTTP_PORT=4100
PROMETHEUS_HTTP_PORT=6063
MYSQL_USER=root
MYSQL_PASSWORD=root
MYSQL_DATABASE=eventindexer
MYSQL_HOST=localhost:3306
MYSQL_MAX_IDLE_CONNS=50
MYSQL_MAX_OPEN_CONNS=3000
MYSQL_CONN_MAX_LIFETIME_IN_MS=100000
PROVER_POOL_ADDRESS=0x7D992599E1B8b4508Ba6E2Ba97893b4C36C23A28
SWAP_ADDRESS=0x501f63210aE6D7Eeb50DaE74DA5Ae407515ee246
RPC_URL=wss://ws.test.taiko.xyz
CORS_ORIGINS=*
BLOCK_BATCH_SIZE=1000
CACHE_INTERVAL_IN_SECONDS=60

0 comments on commit 9c6d918

Please sign in to comment.