Repository navigation
chore: retire M3-26's interim payee source, wire up the real indexer - #30
Merged
Merged
Conversation
kinlock-sdk's indexer (M2-18) is live on Railway, deployed by a teammate while M3-26 was in flight. Set NEXT_PUBLIC_INDEXER_URL in Vercel. Reverted /send and /request to the real listPayees() and deleted lib/payees/*, rather than carrying two parallel payee sources.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
kinlock-sdk's indexer (M2-18) is live on Railway (indexer-production-705a.up.railway.app, confirmed healthy and caught up:{"status":"ok","lagLedgers":0}), deployed by a teammate (@yazi) whileM3-26's interim fix (PR #28) was in flight. SetNEXT_PUBLIC_INDEXER_URLin Vercel and switched/send//requestback to the real indexer, retiring the interim workaround.Changes
NEXT_PUBLIC_INDEXER_URL=https://indexer-production-705a.up.railway.appin Vercel (production and preview).app/send/page.tsx,app/request/page.tsx: back tolistPayees()fromlib/indexer.lib/payees/known.ts,lib/payees/registry.ts,lib/payees/registry.test.ts(M3-26's interim source). Keeping two parallel payee-sourcing paths once the real one exists is exactly the dead-weight AGENTS.md's "minimum viable" rule and the "no dead code" rule rule out.Hard rules / invariants touched
None.
Tests
pnpm lint,pnpm typecheck,pnpm test(94/94) all green.pnpm build, thenpnpm startlocally with the real indexer URL in.env.local: confirmed/sendand/requestlist all three payees (same data as before, now genuinely through the indexer), and/payee(still an unbuiltPageStub,M3-11) responds200.Docs / ADR
None needed.
Roadmap
M3-26: status unchanged (DONE), row text updated to note it's retired/superseded. No count changes (same row, same status). Changelog entry added.M2-18itself iskinlock-sdk's row, stillIN PROGRESSthere (daily backup schedule, restore-vs-live comparison) — not something this PR touches or closes.Assumptions and open questions
M3-11(/payeedashboard) is now genuinely unblocked for the first time (M2-12was alreadyDONE, and the indexer it depends on is now actually live) — flagging as a reasonable next pick, not attempted here.