Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Audit] Token-symbol resolution duplicated across three files with no single source of truth

Aperta
#1,264 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

@enny791 ci sta già lavorando.

Dal 29/8/2026.

  • #1363 di @enny791 — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

frontend refactor second-wave-audit Stellar Wave

Filed from the second-wave repository audit (issue 62/100). See the audit summary for full category context.

  • Location: frontend/src/lib/dashboard.ts:71-77, frontend/src/lib/api/streams.ts:36-42, frontend/src/app/streams/[id]/stream-details-content.tsx:50-54
  • Problem: Three independent resolveTokenLabel/TOKEN_SYMBOLS implementations exist; a new token added to TOKEN_ADDRESSES in lib/soroban.ts must be manually kept in sync with the third file's hardcoded map, or that page silently mis-renders the symbol.
  • Evidence: Three separate implementations of the same address→symbol mapping.
  • Suggested implementation: Extract one shared resolveTokenLabel util (deriving from TOKEN_ADDRESSES) and import it in all three locations.
  • Acceptance criteria: Adding a new token to TOKEN_ADDRESSES correctly resolves its symbol on all three surfaces with a single code change.
  • Difficulty: S
  • Expected impact: Removes a silent-drift bug source that only surfaces when a new token is added.
Lingua principale
TypeScript
Stelle
18
Fork
250
Merge medio
5g 6h
PR unite (30g)
82

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LabsCrypt/flowfi

Tutte le issue di LabsCrypt/flowfi

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.