Skip to content

Add contract test: top_up() called before start_time (pre-vesting top-up) #657

Description

@Austinaminu2

Description

All existing `top_up()` tests exercise the call at-start, mid-stream, at-cliff, or near-end of the vesting schedule. The pre-`start_time` branch (topping up a stream before vesting has begun) is unexercised.

Task

Add a test that creates a future-dated stream, calls `top_up()` before `start_time` is reached, and asserts the deposited amount and stream metadata update correctly.

Good for contributors because

Fills a clear gap in an existing, well-understood test suite (`top_up()` is already extensively tested for other timing scenarios).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions