Skip to content

No event emitted when a stream is paused #74

Description

@Jaydbrown

Description

The protocol supports pausing streams, but the pause_stream function does not emit an event. This makes it impossible for off-chain indexers and the frontend SDK to track the exact moment a stream was paused without polling the contract state.

Suggested Fix

  1. Define a new StreamPaused event containing the stream_id, the caller address, and the timestamp.
  2. Emit this event at the end of the pause_stream function execution.
  3. Ensure the unpause_stream function also emits a corresponding StreamUnpaused event.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions