Summary
A buy and sell in the same ledger must each see the correct supply: the sell must observe the supply after the buy, not the pre-buy value. An integration test should submit both operations in the same ledger and verify the final supply and holder count are consistent.
Scope
- Submit a buy of 5 keys and a sell of 5 keys in the same ledger
- Assert the final supply equals the supply before the buy (net zero change)
- Assert the holder count returns to the pre-buy value if the wallet sold all its keys
- Assert no intermediate state is observable between the two operations
- Assert the buy event
new_supply and sell event new_supply are consistent with the sequence
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
A buy and sell in the same ledger must each see the correct supply: the sell must observe the supply after the buy, not the pre-buy value. An integration test should submit both operations in the same ledger and verify the final supply and holder count are consistent.
Scope
new_supplyand sell eventnew_supplyare consistent with the sequenceAcceptance Criteria
new_supplyvaluesETA: 12 hours
Coordinate on Telegram