mirror of
https://github.com/luxfi/dex.git
synced 2026-09-24 00:26:31 +00:00
cevm and pkg/dex each defined a global lux_secp256k1_metal_anchor, so any binary linking both failed with "duplicate symbol". cevm has been renamed to lux_cevm_secp256k1_metal_anchor; this is the other half. The anchor only exists to keep the Metal driver alive through linker dead-code elimination. luxcpp resolves the DRIVER symbol (secp256k1_ecrecover_address_batch_metal) via dlsym(RTLD_DEFAULT, ...), never the anchor, so the anchor name is internal and safe to qualify. Naming it after its package means the next one to appear cannot collide either. Also drops 3 go.sum lines that disagree with sum.golang.org, recorded from direct VCS fetches made while GOPRIVATE covered github.com/luxfi/*. Co-authored-by: Hanzo Dev <[email protected]>