You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TOKEN_ENCRYPTION_KEY=... # 64-char hex for AES-256-CBC
@@ -134,7 +131,7 @@ TOKEN_ENCRYPTION_KEY=... # 64-char hex for AES-256-CBC
134
131
-**Language:** TypeScript (strict mode) across all services
135
132
-**Validation:** Zod schemas for environment variables and API inputs
136
133
-**Monorepo:** pnpm workspaces + Turbo for builds
137
-
-**Testing:**Jest with ts-jest (most services), Node.js test runner (dashboard)
134
+
-**Testing:**Vitest (all apps + packages), MSW for HTTP/JSON stubs in integrated-tests, Node.js test runner (dashboard)
138
135
-**Package manager:** pnpm 10.x, Node.js >= 18
139
136
140
137
## Deployment
@@ -250,8 +247,6 @@ VALUES (
250
247
-`state = 'closed'` (not `'active'`)
251
248
-`end` = recent past (within last 24h so trigger cursor picks it up)
252
249
253
-
**Gateway note:** If the production gateway returns a GraphQL error for DAOs with `null` in non-nullable fields (e.g. `supportOffchainData`), `getDAOs()` may return an empty list and skip all offchain queries. To avoid this during local testing, run the API gateway locally pointing only to the ENS API and set `ANTICAPTURE_GRAPHQL_ENDPOINT=http://host.docker.internal:4000/graphql` in `.env`.
254
-
255
250
### New Offchain Proposal Insert (Snapshot)
256
251
```sql
257
252
-- No triggers on snapshot.proposals, safe to insert directly
0 commit comments