Files
genesis/cmd
Hanzo AI 72b5bbcbb2 configs: LUX_DISABLE_ZCHAIN / LUX_DISABLE_QCHAIN env knobs
Mirror the LUX_DISABLE_CCHAIN three-precedence pattern for Q-Chain
(Quantum VM) and Z-Chain (ZK VM). Downstream forks that run only
P+X on the primary network (<tenant> is the first) set
LUX_DISABLE_QCHAIN=1 and LUX_DISABLE_ZCHAIN=1 to omit those entries
from the marshalled primary genesis, and builder.FromConfig's
'if config.QChainGenesis != ""' / 'ZChainGenesis' guards skip the
entries at build time.

Precedence (identical to C-Chain knob):
  1. LUX_DISABLE_<X>CHAIN=1 → empty (omit from primary genesis)
  2. LUX_<X>CHAIN_GENESIS_FILE=<path> → file contents verbatim
  3. unset → DefaultPlaceholderGenesis

Q-Chain is the post-quantum primitives chain; Z-Chain is the
zero-knowledge primitives chain. Both are Lux Network-specific and
have no place in the primary genesis of downstream L1s.
2026-05-11 14:43:04 -07:00
..