Skip to content

Add contract test: create_streams_batch() rejects a batch entry whose recipient is the contract itself #659

Description

@Austinaminu2

Description

`test_security.rs` has `test_recipient_is_contract_rejected` for the single `create_stream` path, but no equivalent test exists for the identical guard in `create_streams_batch()` (`lib.rs:550-552`).

Task

Add a batch-create test with one entry whose recipient is the contract address itself, 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