mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 05:14:14 +00:00
b4f8450968
why: vm2 enabled by ENABLE_VM2=1 behaves as vm without ENABLE_EVMC=1 until it doesn't in some future fatch set. this leaves some wiggle room to work on a vm copy without degrading the original implementation. details: + additional make flag ENABLE_VM2=1 (or ENABLE_VM2=0 to explicitely disable) + when both flags ENABLE_EVMC=1 and ENABLE_VM2=1 are present, the former flag ENABLE_EVMC=1 takes precedence, this is implemented at the NIM compiler level for -d:evmc_enabled and -d:vm2_enabled