Skip to content

Consolidate CreateStreamInput and CreateStreamParams structs in the contract #661

Description

@Austinaminu2

Description

`CreateStreamInput` and `CreateStreamParams` (`contracts/streaming/src/lib.rs:152-176`) are field-for-field identical structs.

Task

Either merge them into a single type used by both the single-stream and batch-create paths, or — if there's a reason to keep them separate (e.g. future divergence) — add a doc comment on each explaining why the duplication is intentional.

Good for contributors because

Clear, well-scoped simplification with an easy correctness check (compile + existing tests still pass).

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