mirror of
https://github.com/luxfi/genesis.git
synced 2026-07-27 05:54:08 +00:00
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.