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
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
Acceptance Criteria
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg