PerpOps execution feedback
Two reproducible issues we found while building a BTC position executor for dreamDEX. Both affect steps a bot builder needs to trust: closing a position and funding a test account.
Download reproduction packageGitHub repositoryWatch the simulation
The close helper retained an older quantity
The helper saw a long of 0.0004 BTC and sent a sell for 0.001 BTC to the mock trader. The seven-case harness captures the order parameters. Crossing into a short position is a modeled full-fill outcome.
Inspect the seven scenarios →Only the USDso bridge quote reverted
At Shannon block 529372807, the USDso route reverted on its gas quote for Hideki2. The STT, WBTC, WETH and HBTT routes each returned zero at the same block. A second block lookup confirmed the hash.
Inspect the RPC requests and responses →Run both checks
Unzip the reproduction package, open its folder and run these commands with Node.js 24 or later. The close check runs offline after installation. The bridge check reads the current Shannon block.
npm ci
npm run feedback:close
npm run feedback:bridgeRecover an interrupted order
The 100-second recording shows a simulated fill, a dropped acknowledgement, recovery using the original transaction, and a separate close to zero. The Feedback reports above contain the competition evidence.