Skip to content

Add contract test: create_streams_batch() rejects a dust/zero-rate stream entry #660

Description

@Austinaminu2

Description

`test_dust_stream_rejected`/`test_dust_stream_with_cliff_rejected` cover the single `create_stream` path only. The identical dust-amount guard in the batch path (`lib.rs:561-563`) has no test.

Task

Add a batch-create test with one entry that would produce a dust/zero-rate stream, asserting the batch is rejected the same way the single-stream path is.

Good for contributors because

Mirrors an existing, well-understood single-stream test — mostly a matter of adapting it to the batch API.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programsmart-contractSoroban smart contracttestingTests and QA

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions