mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
The C-Chain DEX settles certified D-Chain fill receipts at the 0x9999 precompile (LP-9999); it never queries a live matcher. Remove the deprecated DexZapEndpoint -> SetBackend(NewZAPEngine()) wiring from vm.go and the DexZapEndpoint config knob: a synchronous in-block ZAP query against the D-Chain's moving book forks consensus (each validator observes differently-timed fills -> divergent StateRoot, proven by chains/dexvm TestRED_PerValidatorRelay_SplitsConsensus). ZAP survives only as the dexvm's own build-path transport, never as a C-Chain live backend. Receipts ride in V4 swap hookData and are verified inline (deterministic BLS). Bump github.com/luxfi/precompile v0.5.47 -> v0.5.49 to embed the complete, red-swarm-hardened 0x9999 receipt-settlement surface.