Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[fix] Reconcile token lists with the persisted verified registry

Đã đóng
#1,706 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 7 ngày

@ojuotimi932 đang làm issue này rồi.

Từ ngày 22/10/2026.

  • #1801 của @ojuotimi932 — đã merge

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
54/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
graphql, typescript
Lĩnh vực
api, backend, databases

Hướng nghiên cứu

Start with backend/src/routes/v1/token.routes.ts:23 and trace how GET /tokens uses listVerifiedTokens from lib/token-metadata while detail and GraphQL use Prisma TokenRegistry. Check the documented caching behavior and the corresponding endpoint tests. Done means an inserted or updated verified database asset has matching metadata and verification status in list and detail responses, with consistent GraphQL metadata.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

backend bug points: 150 Stellar Wave

Labels: bug, backend, points: 150
File/location: backend/src/routes/v1/token.routes.ts:23

Description:
GET /tokens reads a static in-memory list while GET /tokens/:address and GraphQL read TokenRegistry. Persisted verified assets never appear in the list, and individual lookup metadata can disagree with the list.

Acceptance Criteria:

  • Serve list, detail and GraphQL metadata from a consistent verified registry, retaining documented caching behavior.
  • Insert or update a verified database asset and assert that the list and detail endpoints agree on its metadata and verification status.

Notes:
Source trace: token.routes.ts imports listVerifiedTokens from lib/token-metadata, while getToken and GraphQL read Prisma TokenRegistry.

Audited commit: 649b6976a100fd964ce191428eef1faeb50aaa39. Closest prior issues reviewed: #1323, #1515. This report concerns the specific failure or uncovered test paths described above, rather than repeating the original feature request.

Ngôn ngữ chính
TypeScript
Star
18
Fork
250
Merge trung bình
5 ngày 6 giờ
Pull request đã merge (30 ngày)
82

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LabsCrypt/flowfi

Tất cả issue của LabsCrypt/flowfi

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.