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

[Audit] Pause/resume respond "success" without actually changing any state

Aperta
#1,220 5 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

@d1a-m3n ci sta già lavorando.

Dal 29/8/2026.

  • #1 di @d1a-m3n — aperta
  • #1342 di @d1a-m3n — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

backend bug second-wave-audit Stellar Wave

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

  • Location: backend/src/controllers/stream.controller.ts:807-841, 890-919
  • Problem: pauseStream/resumeStream call simulation-only Soroban functions (see Architecture #B7) and respond { success: true, stream }, echoing the unmodified, pre-call stream object — no on-chain transaction is submitted and no DB field (isPaused/pausedAt) is updated.
  • Evidence: Response object is the same stream read before the call; no prisma.stream.update in either handler.
  • Suggested implementation: Either implement real signed on-chain calls (see Architecture #B7) or, until that lands, return 501 Not Implemented/an explicit "not yet supported" error instead of a false success: true.
  • Acceptance criteria: Calling pause/resume either performs a real state change verifiable in the DB and on-chain, or returns a non-200 response indicating it did not.
  • Difficulty: L
  • Expected impact: Stops the API from lying to clients about whether a stream was actually paused/resumed.
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.