mirror of
https://github.com/luxfi/chains.git
synced 2026-09-24 00:26:00 +00:00
luxfi/evm dropped in-process backend switching (2f9a3158): choosing an EVM is choosing which plugin binary the host runs, and the switch it replaced never ran a block — its executor returned nil, nil and its tagged build did not compile. The callers stayed here, so this package no longer built against evm at all: parallel.SetBackend, AutoEVM, GoEVM, ActiveBackend and AvailableBackends are gone. What is left is worth saying out loud, so one file reports it: the C++ library's ABI, the backends it offers, and the health battery each answered. The cevm package carries its own build tags, so the cgo/nocgo split in the caller went with them. Two tests went too. They asserted that selection left a runnable lane active and that it was idempotent, and there is no selection to be idempotent about; that a build reports what it cannot execute is still covered. The package went from listing no tests at all — it did not compile — to running ten. Co-authored-by: Hanzo Dev <[email protected]>