Skip to content

Commit f2a8554

Browse files
moose-codeclaude
andcommitted
Upgrade envio to 3.0.0-alpha.23
Migrate handlers from per-contract Contract.Event.handler() API to the unified indexer.onEvent() API, and add storage backend selection block in config.yaml (clickhouse commented out, postgres enabled). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7ad70d9 commit f2a8554

6 files changed

Lines changed: 382 additions & 330 deletions

File tree

config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
name: polymarket-v2-indexer
33
description: Polymarket V2 — CTF Exchange, PolyUSD, Rewards
44

5+
storage:
6+
postgres: true
7+
# clickhouse: true # enable to additionally sync indexed data to ClickHouse
8+
59
field_selection:
610
transaction_fields:
711
- hash

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"vitest": "4.0.18"
1515
},
1616
"dependencies": {
17-
"envio": "3.0.0-alpha.21"
17+
"envio": "3.0.0-alpha.23"
1818
},
1919
"optionalDependencies": {
2020
"generated": "./polymarket-v2-indexer/../generated"

pnpm-lock.yaml

Lines changed: 72 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)