Skip to content

fix agg head-lag: dead WETH/USDbC pool → active Uniswap V3 WETH/USDC on Base - #1413

Merged
Flotapponnier merged 2 commits into
devfrom
fix/base-pool-swap-usdbc-to-usdc
Jul 25, 2026
Merged

fix agg head-lag: dead WETH/USDbC pool → active Uniswap V3 WETH/USDC on Base#1413
Flotapponnier merged 2 commits into
devfrom
fix/base-pool-swap-usdbc-to-usdc

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Root cause

`AggregatorHeadLagStale` fires on `chain="base"` every ~10-30min because the subscribed pool `0x4c36388be6f416a29c8d8eee81c771ce6be14b18` is WETH/USDbC (deprecated bridged legacy USDC on Base, ~$27k liquidity, ~17 swaps/hour). Poisson gaps > 5 min are structurally inevitable.

The WS routing was fine, Mobula labels correctly. Just a dying pool.

Fix

Swap both `headLagPools` and `fastTradePools` Base entry to Uniswap V3 WETH/USDC 0.05% `0xd0b53d9277642d899df5c87a3966a349a798f224`:

  • token0=WETH, token1=native USDC (`0x8335...02913`) — verified via eth_call
  • 14 swaps / 100 blocks (~3 min) = ~1 swap every 13s
  • Mobula WS returns `blockchain: 'Base'` correctly (verified live with Railway's API key)

Same chain, same metric label `chain="base"`, just a real active pool.

Post-merge

Redeploy the 3 Railway aggregator services (Agg eu west / agg sgp / Aggregator east usa) so containers pick up the new binary.

@Flotapponnier
Flotapponnier merged commit 2142a82 into dev Jul 25, 2026
1 check failed
@Flotapponnier
Flotapponnier deleted the fix/base-pool-swap-usdbc-to-usdc branch July 25, 2026 01:07
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.

1 participant