Documentation
¶
Overview ¶
Backend selection (cgo build): wire the C++ EVM (cevm) into the parallel-execution registry and pick the best available backend.
Linking the github.com/luxfi/chains/evm/cevm package under cgo brings in the luxcpp/cevm shared libraries (libevm, libevm-gpu, libluxgpu, libcevm_precompiles), which is the prerequisite for cevm-based execution.
Whether cevm is actually selected depends on the upstream luxfi/evm build tags: the C++ executor is registered by core/parallel only when luxfi/evm is itself built with `-tags cevm`. In that case AutoEVM resolves to CppEVM. Otherwise AutoEVM falls back to GoEVM (geth) — the pure-Go path — without losing the GPU ecrecover bridge that is registered separately under `cgo && darwin`.
Lux EVM plugin — C-Chain EVM with all precompiles enabled.
Every precompile is explicitly imported. No umbrella packages. Genesis determines which are active at which block/timestamp.