mirror of
https://github.com/luxfi/dex.git
synced 2026-09-24 00:26:31 +00:00
The swap looked for the venue that had priced the trade in the per-chain set alone, while the quote falls back to the single set a one-chain deployment is handed. Configured the second way, this surface priced a pair and then reported the venue that had just priced it as unregistered. Both go through Server.arms now, and Server.arm is that set looked up by the name a venue calls itself. The swap also rebuilt the quote request by hand beside convertQuoteRequest, which does the same thing for the quote path — six of seven fields, twice, free to drift about what slippage or isExactIn mean. swapRequest embeds quoteRequest; encoding/json flattens it, so the wire shape is unchanged and there is one conversion. Co-authored-by: Hanzo Dev <[email protected]>