Multi-EVM Pluggable Architecture
Four interchangeable EVM implementations as Lux L1/L2 VM plugins, all producing identical state roots for identical inputs
LP-5621: Multi-EVM Pluggable Architecture
Abstract
Lux Network supports four interchangeable EVM implementations. All four
produce identical state roots for identical inputs; that equivalence
is the whole point of the plugin boundary. Validators hot-swap the
C-Chain EVM via switch-evm.sh without a genesis change and without a
fork.
Implementations
| Name | Language | Throughput (EVM) | GPU | Plugin |
|---|---|---|---|---|
evm | Go (geth-derived) | 4.2 Ggas/s | No | native |
evmgpu | Go (Block-STM) | 4.2 Ggas/s | No | native |
revm | Rust (reth-derived) | not yet measured | No | via ZAP |
cevm | C++ | 20.9 Ggas/s | Yes | via ZAP |
cevm is the GPU-native engine specified in
lp-5620. evmgpu is the
Block-STM parallel Go tree; it shares the scheduling model but executes
on CPU.
ZAP VM protocol
Every implementation talks to luxd over the ZAP binary wire protocol:
- TCP with 4-byte length-prefix framing.
- 17 message types —
Initialize,BuildBlock,ParseBlock,BlockVerify, and the rest of the ChainVM surface. - Protocol version 42.
Because the boundary is a byte protocol rather than a language binding, an implementation in any language is a first-class plugin. The state root, not the implementation, is the contract.
References
- lp-5620 — GPU-native EVM (
cevm) - lp-3641 — ChainVM compatibility surface
- lp-1200 — C-Chain EVM specification
Copyright
Copyright (C) Lux Industries Inc. All rights reserved.