Skip to content

Add regression test for buy quote consistency before and after a sell #352

@Chucks1093

Description

@Chucks1093

Summary
Performing a sell changes the total supply, which in turn affects the buy quote. A regression test that records the buy quote at a given supply, performs a sell, and re-checks the buy quote at the new supply confirms the quote reflects the updated supply correctly.

Scope

  • add a regression test that reads the buy quote before a sell
  • perform a sell that reduces the supply
  • assert the buy quote after the sell reflects the reduced supply

Acceptance Criteria

  • the buy quote after a sell differs from the pre-sell quote by the expected amount
  • the test fails if the quote does not update after the supply change
  • the test uses the bonding curve price helper to compute expected values

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