mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
Config field LuxStrictPQ -> PQ (JSON key "pq", was "lux-strict-pq"). VM.Initialize now calls gethvm.SetPQProfile(gethvm.AllForbidden()) when config.PQ is true, refusing every classical precompile family (ecrecover, sha256/ripemd/blake2F, alt_bn128, BLS12-381, KZG) at the EVM gate — not just ecrecover. Test file renamed lux_strict_pq_test.go -> pq_test.go. Covers the strict-PQ path, classical-compat path, and a cross-family refusal matrix asserting AllForbidden() turns on every Forbid* flag.