Files
zooqueen 28942737fc fix(build): re-pin [email protected], restore core/vm/runtime, gate GPU-opcode cgo
Four orthogonal fixes so 'GOWORK=off CGO_ENABLED=1 go build ./...' compiles
the real slot-level Block-STM (core/parallel + state_processor) again:

1. upgrade: re-pin v1.0.1-0.20260603055252-f51810805436 -> v1.0.1. The pinned
   pseudo-version commit was force-pushed off origin (orphaned); the published
   v1.0.1 tag resolves to the same tree (bd889e9). params, which imports
   upgrade, now builds.

2. gpu: re-pin v1.0.2 -> v1.0.1 (matches sibling luxfi/evm). gpu v1.0.2's
   e2e_cgo.go calls lux_gpu_{mldsa,slhdsa}_verify_batch with a stale arg list
   that no longer matches the C header (cgo 'not enough arguments'); v1.0.1
   compiles clean against the installed header.

3. core/vm/runtime: restore the package. An UNANCHORED  entry
    silently excluded core/vm/runtime/, so cmd/evm/runner.go imported
   a package that was never committed. Anchored the ignore to /runtime (root
   build artifact) and added the package (ported from luxfi/evm, rewired to
   evmgpu's forked core/state.StateDB).

4. gpu_evm.go: add the missing  build tag (cgo && darwin && arm64 ->
   gpu && cgo && darwin && arm64), aligning the GPU-opcode dispatcher with its
   own test (gpu_evm_test.go) and doc comment. Without it the lux-cevm-linked
   cgo file was compiled on every darwin build, forcing an absent native dep
   on the default build. GPU-opcode dispatch is now opt-in behind -tags gpu;
   the pure-Go STM core and the luxfi/gpu ecrecover path stay default.

Verified: ./core/... ./params/... ./cmd/evm build (CGO=1, install pkg-config).
plugin/cmd/abigen link only against absent native archives (accel embeds a
broken relative -L; pqclean/lattice not install-complete) — pre-existing and
identical in luxfi/evm, not introduced here.
2026-06-21 22:39:06 -07:00
..