Overview
POST /wallets/w1/withdrawWallet w1
INCIDENT · SAMPLE WALLET API · SEED 1729
Two withdrawals.
One balance check.
₦5,000 from nowhere.
ContractReaper raced two requests against a wallet API and caught it: 2 requests, one balance check, ₦5,000.00 from nowhere.
Rules
View results- Reading the OpenAPI file…
The race · wallet w1
| T | REQUEST A | REQUEST B | BALANCE |
|---|---|---|---|
| 0 | Open | Open | ₦5,000.00 |
| 1 | Reads ₦5,000.00. Check passes. | ₦5,000.00 | |
| 2 | Waits on fraudCheck… | Reads ₦5,000.00. Check passes. | ₦5,000.00 |
| 3 | Still waiting… | fraudCheck done. Pays ₦5,000.00. 200 · tx_0001 | ₦0.00 |
| 4 | fraudCheck done. Pays ₦5,000.00. 200 · tx_0002 | −₦5,000.00 |
$ bun run reaper -- run --seed 1729
✝ violated inv_nonneg_withdraw case 2 · shrunk to 2 requests