mirror of
https://github.com/luxfi/dex.git
synced 2026-09-24 00:26:31 +00:00
The VM had no factory, so the only way to build it was the literal in the plugin entrypoint. That kept the D-Chain reachable exactly one way — as an execed binary — and left the node unable to register it beside the chains it links, which is why luxd came up without a D-Chain at all. Factory is now the one constructor: the node registers it in-process and the plugin entrypoint builds through it before handing the VM to rpc.Serve. VMID moves in beside it so the chain and the id it answers to cannot drift apart.