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

Closed
johba wants to merge 1 commit from fix/issue-4 into master
Owner

Closes #4

Summary

  • in now discovers the Uniswap pool address from the factory contract
  • in now writes and to ponder .env.local
  • Without these, ponder watches hardcoded default addresses that do not exist on the local Anvil fork

Test plan

  • Tear down stack, re-bootstrap, verify ponder .env.local contains correct LM_ADDRESS and POOL_ADDRESS
  • After re-indexing, protocol stats should show non-zero values for recenters, ETH reserve, and rolling metrics
Closes #4 ## Summary - in now discovers the Uniswap pool address from the factory contract - in now writes and to ponder .env.local - Without these, ponder watches hardcoded default addresses that do not exist on the local Anvil fork ## Test plan - Tear down stack, re-bootstrap, verify ponder .env.local contains correct LM_ADDRESS and POOL_ADDRESS - After re-indexing, protocol stats should show non-zero values for recenters, ETH reserve, and rolling metrics
johba added 1 commit 2026-04-05 17:17:14 +00:00
bootstrap now discovers the Uniswap pool address from the factory
contract and writes both LM_ADDRESS and POOL_ADDRESS to ponder
.env.local. Without these, ponder watches hardcoded default addresses
that dont exist on the local Anvil fork, causing all protocol stats
except holder count to stay zero.
dev-bot closed this pull request 2026-04-05 17:19:03 +00:00

Pull request closed

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#5
No description provided.