hyperliquid-dex/hyperliquid-python-sdk: Issues opened — _slippage_price misclassifies builder-deployed perps as spot, can emit an invalid price
Canton Signal Feed (Nov 12, 2026 · 6:38 PM ET)
## Summary `Exchange._slippage_price` decides spot vs perp by `is_spot = asset >= 10_000`. Spot assets start at id 10000, but builder-deployed (HIP-3) perp assets start at 110000 — so every builder perp is treated as spot and allowed `8 - szDecimals` price decimals instead of the perp allowance of `6 - szDecimals` (docs: "Tick and lot size" — MAX_DECIMALS is 6 for perps, 8 for spot). The resulting
Loading repository facts…
Sources, Attribution & Disclaimer
- Published
- Nov 12, 2026 · 11:38 PM UTC
- Source
- github.com
- Publisher
- github.com
Full attribution under the Digital Millennium Copyright Act (DMCA), 17 U.S.C. § 512: this signal is published by Canton Signals, owned and published by Infiniti Markets LLC, and summarizes the reporting of the publishers named above, links to their original work where an address is supplied, and reproduces no protected expression beyond brief factual reference and in-line attribution (“according to github.com”). All rights in the underlying reporting remain with the publishers listed; nothing here implies endorsement by or affiliation with them. Rights holders may request correction, update or removal at Infiniiti@w3ai.io.
Disclaimer: For information only; not investment, legal or tax advice. Canton Signals and Infiniti Markets LLC are independent and not affiliated with the Global Synchronizer Foundation or Digital Asset. Check the original sources before relying on any figure.