Skip to content

Add helper for building a buy sequence fixture with incrementing amounts #366

@Chucks1093

Description

@Chucks1093

Summary
Tests that verify supply accumulation or price monotonicity across sequential buys currently construct each buy inline. A helper that generates a sequence of buys with incrementing amounts reduces boilerplate and makes the test intent clearer.

Scope

  • add a test helper that performs a defined number of buys with incrementing amounts starting from a given value
  • return the resulting supply and balance state after the sequence
  • use the helper in at least one existing sequential buy test

Acceptance Criteria

  • the helper performs the correct number of buys with the expected incrementing amounts
  • the returned state reflects the cumulative result of all buys
  • at least one existing test is updated to use the helper

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions