fix: pass LM_ADDRESS and POOL_ADDRESS to ponder env (#4) #7

Merged
johba merged 2 commits from fix/issue-4 into master 2026-04-05 17:33:14 +00:00
Owner

Closes #4

Bootstrap now discovers the Uniswap pool address from the factory and writes LM_ADDRESS + POOL_ADDRESS to ponder .env.local.

Reviewed and approved by review-bot on PR #6 (closed due to branch sync issue, reopened as fresh PR).

Closes #4 Bootstrap now discovers the Uniswap pool address from the factory and writes LM_ADDRESS + POOL_ADDRESS to ponder .env.local. Reviewed and approved by review-bot on PR #6 (closed due to branch sync issue, reopened as fresh PR).
johba added 2 commits 2026-04-05 17:33:08 +00:00
1. Add LM_ADDRESS and POOL_ADDRESS to ponder .env.local (bootstrap.sh)
2. Discover pool address from Uniswap factory during bootstrap (bootstrap-common.sh)
3. Make ring buffer block threshold configurable via MINIMUM_BLOCKS_FOR_RINGBUFFER env var,
   set to 0 for local dev so early events populate the ring buffer

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Prevents unbound variable crash under set -u when factory lookup fails.
johba merged commit 62ba6f24fd into master 2026-04-05 17:33:14 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: johba/harb#7
No description provided.