mirror of
https://github.com/luxfi/dex.git
synced 2026-09-24 00:26:31 +00:00
Every d-chain write is deduped by the hash of its frame (seen: key); re-sending identical deposit/place/submit frames across runs returns the FIRST run's cached outcome (stale orderId, empty fills) and proves nothing. Thread a wall-clock nonce into the order SIZE (ask+buy same size so they fully cross) and the deposit AMOUNT so each invocation is a genuinely new, funded cross. Proven on lux-devnet: fresh fills submitted to luxd-0/2/4 each committed identically on all 5 validators.