Skip to content

Add a timestamp field to TopUpEvent and StreamTransferEvent for event-shape consistency #662

Description

@Austinaminu2

Description

Every other stream lifecycle event (`StreamCreatedEvent`, `WithdrawEvent`, `CancelEvent`, `StreamBumpedEvent`, pause/unpause events) carries a `timestamp` field, but `TopUpEvent` and `StreamTransferEvent` (`lib.rs:234-247`) don't — breaking event-shape consistency for anyone indexing these events.

Task

Add a `timestamp` field to both event structs, populated the same way the other lifecycle events populate theirs, and update the corresponding emit call sites and any tests asserting on event shape.

Good for contributors because

Clear, well-scoped consistency fix with an existing pattern (the other event structs) to copy from.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programhelp wantedExtra attention is neededsmart-contractSoroban smart contract

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions