Skip to content

feat(config): expand pool registry to 76 mainnet pools + Eden/Rsync builders#121

Merged
0xfandom merged 1 commit into
developfrom
feat/issue-71-pool-registry-100
May 7, 2026
Merged

feat(config): expand pool registry to 76 mainnet pools + Eden/Rsync builders#121
0xfandom merged 1 commit into
developfrom
feat/issue-71-pool-registry-100

Conversation

@Pablosinyores
Copy link
Copy Markdown
Owner

Closes part of #71. Splits the code-level refactor into #120.

Summary

  • Pools (config/pools.toml): 3 → 76 curated high-TVL Ethereum mainnet pools across all 6 supported protocols (UniV2, UniV3, Sushi, Curve, Balancer V2, Bancor V3), tiered hot/warm/cold. The original WS-1.6 target of 500+ is scoped down here to a manually-verifiable seed set; auto-population to the CLAUDE.md 5,000+ target is tracked in Pool discovery pipeline + per-builder Prometheus metrics #120 (on-chain discovery pipeline).
  • Builders (config/builders.yaml): add Eden + Rsync entries using the existing api_key auth pattern. They default to auth_type: "none" so executor startup stays clean for default deployments. Operators set EDEN_API_KEY / RSYNC_API_KEY in .env and flip auth_type: "api_key" to activate.
  • .env.example: document the three optional builder API key vars.
  • Test fixups:
    • crates/grpc-server/src/engine.rsbootstrap_pools test relaxed from exact-3 to >= 3 (anchor USDC/WETH pools), so it stays robust as pools.toml grows.
    • internal/config/loader_test.goTestLoadBuildersConfig_ValidFile updated to expect the four configured builders.

Why these scope decisions

The original #71 mixed config-only changes (deterministic, easy to review) with code-level changes (new discovery binary, per-builder Prometheus metrics with inclusion polling). This PR delivers the config half so the executor can fan out to four builders today and reads richer pool state. The code half landed in #120 for a focused review pass.

Test plan

  • cargo test -p aether-grpc-server --bin aether-rust — 83 passed
  • go test ./cmd/executor/... ./internal/config/... -race — all green
  • Operator dry-run: load builders.yaml with EDEN_API_KEY + RSYNC_API_KEY set, flip auth_type to api_key, verify fan-out reaches all 4 relays in staging
  • Memory check: load full 76-pool config in aether-rust, confirm RSS stays well below the 2 GB target (current 3-pool RSS is the floor)

Out of scope (tracked elsewhere)

…ync builders

WS-1.6 / WS-1.7 partial — implements the config-only half of #71.

Pool registry: 3 → 76 curated high-TVL Ethereum mainnet pools tiered
hot/warm/cold across all 6 supported protocols (UniV2, UniV3, Sushi,
Curve, Balancer V2, Bancor V3). Auto-population to the full 5,000+
target tracked separately in #120 (discovery pipeline + per-builder
Prometheus metrics).

Builders: add Eden + Rsync to builders.yaml using the existing api_key
auth pattern. Default to auth_type "none" so executor startup stays
clean for default deployments — operators flip to api_key + set
EDEN_API_KEY / RSYNC_API_KEY in .env to activate.

Tests: relax engine bootstrap_pools assertion from exact-3 to >=3
(anchor USDC/WETH pools) so the test stays robust as pools.toml grows.
Update internal/config builders test to expect the four configured
builders.

Refs: #71, #120
@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aether Ready Ready Preview, Comment May 5, 2026 11:13am
aether-63xv Ready Ready Preview, Comment May 5, 2026 11:13am

@Pablosinyores Pablosinyores changed the base branch from main to develop May 5, 2026 11:16
@0xfandom 0xfandom merged commit 8f09c18 into develop May 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants