Summary
The creator key supply endpoint should always reflect the current on-chain supply. An integration test should drive a sequence of buys and sells and confirm the endpoint returns the correct supply at each step without serving a stale cached value.
Scope
- Seed a creator with initial supply 0
- Buy 10 keys and assert the supply endpoint returns 10
- Buy 5 more keys and assert supply is 15
- Sell 8 keys and assert supply is 7
- Sell the remaining 7 keys and assert supply is 0
- Assert the supply endpoint reflects the updated value within one request (no stale cache served)
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The creator key supply endpoint should always reflect the current on-chain supply. An integration test should drive a sequence of buys and sells and confirm the endpoint returns the correct supply at each step without serving a stale cached value.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram