Conversation
Implements a standalone Hono service (apps/relayer/) that allows users to vote and delegate on governance proposals without paying gas. The relayer validates EIP-712 signatures, checks eligibility and on-chain state, enforces rate limits, and submits transactions via a funded wallet. - Pluggable signer interface (local private key for v1, KMS-ready) - Supports castVoteBySig and delegateBySig for all supported DAOs - In-memory sliding window rate limiter (per-address hourly + daily) - Zod OpenAPI schemas with /health, /relay/vote, /relay/delegate routes - 29 tests across 7 files (unit + integration with MSW) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 754b542efa
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c8b2d102b3
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6ba5212868
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
# Conflicts: # apps/gateful/src/config.ts # pnpm-lock.yaml
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d26a4cfb5f
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| .refine(isHex, "Invalid hex string") | ||
| .transform((v) => v as `0x${string}`), | ||
|
|
||
| MIN_VOTING_POWER: z.string().default("0"), |
There was a problem hiding this comment.
Validate MIN_VOTING_POWER at configuration parse
MIN_VOTING_POWER is currently accepted as any string in envSchema, but main() later does BigInt(env.MIN_VOTING_POWER) before starting the server. A non-decimal value (for example "1e21" or a typo like "1000 ENS") passes env parsing and then crashes startup, taking the relayer down instead of returning a clear configuration error. Parsing/validating this field as a decimal integer in the schema would fail fast with an actionable message.
Useful? React with 👍 / 👎.
Implements a standalone Hono service (apps/relayer/) that allows users to vote and delegate on governance proposals without paying gas. The relayer validates EIP-712 signatures, checks eligibility and on-chain state, enforces rate limits, and submits transactions via a funded wallet.