Files
observer/crates/blackbeard-api
grenadeandClaude Opus 5.5 5f30000539
ci / gate (push) Successful in 4m39s
deploy / validate (push) Skipped
deploy / build (push) Successful in 9m20s
deploy / deploy-web (push) Successful in 5s
deploy / deploy-api (push) Successful in 19s
fix(api): give NEAR backfills every other turn instead of none
The bridge's mint scan sat with its backfill stalled — 118,898 blocks
between gargravarr's oldest and where it started, unread and not moving
— because every NEAR scan went back only once it was level with the tip.
A forward pass takes longer than NEAR's 0.6 s block, so a live scan is
always a block or two behind and the backward turn never came. #44's
example deposit was waiting on exactly that stretch.

The four NEAR scans (bridge mints, intents, intents flows, pool calls) now
alternate while history remains. Forward runs at half pace only while a
backfill is pending, and every scan here keeps up with the tip at that.

Refs #44

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015pkwBsR54NRmZyU4QVhvfj
2026-10-07 10:03:46 +03:00
..