[Audit] Stream creation wizard never receives a real transaction hash
Filed from the second-wave repository audit (issue 1/100). See the audit summary for full category context.
- Location:
frontend/src/components/stream-creation/StreamCreationWizard.tsx:384-386 - Problem:
handleSubmitcastsonSubmit(formData)'s return to{ txHash: string }, but the prop type isPromise<void>and the real implementation (dashboard-view.tsxhandleCreateStream) returns nothing.resultis alwaysundefined, so the "confirming" UI's displayedtxHash(line 572) is permanently blank. - Evidence:
const result = (await onSubmit(formData)) as unknown as { txHash: string };— type-unsafe cast masking a realundefined. - Suggested implementation: Change
onSubmit's type toPromise<{ txHash: string }>, updatehandleCreateStreamto return the real hash fromcreateStream(), remove the unsafe cast. - Acceptance criteria: After creating a stream, the confirming/success UI shows the actual submitted transaction hash, verified by a new test asserting
onSubmit's resolved value is surfaced. - Difficulty: S
- Expected impact: Users can no longer verify their transaction on an explorer; fixes a visibly broken confirmation screen.
I reviewed the wizard and dashboard-view code. I’ll change onSubmit to return the real transaction hash, remove the unsafe cast, and add a regression test that surfaces the submitted hash in the confirming/success UI.
@benedict102 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
I would like to work on this issue
ℹ️ Repo Maintainers: To accept this application, review their application or assign @benedict102 to this issue.
@EmannuellaO has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
please assign me to this issue
ℹ️ Repo Maintainers: To accept this application, review their application or assign @EmannuellaO to this issue.
@lawalajose has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
kindly assign boss
ℹ️ Repo Maintainers: To accept this application, review their application or assign @lawalajose to this issue.
Congratulations, @lawalajose! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.
🧑💻 @lawalajose: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
@p4uld4vid016-code has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hello maintainer, i would like to work on this issue
ℹ️ Repo Maintainers: To accept this application, review their application or assign @p4uld4vid016-code to this issue.
Congratulations, @p4uld4vid016-code! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @p4uld4vid016-code: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
This issue has been completed by @p4uld4vid016-code as part of the Stellar Wave Program's 10th Wave 🥳
😎 @p4uld4vid016-code: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.