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).
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).