diff --git a/core/vm/vm.go b/core/vm/vm.go index 56aca69123..8340283b6e 100644 --- a/core/vm/vm.go +++ b/core/vm/vm.go @@ -90,6 +90,10 @@ func (evm *EVM) Run(contract *Contract, input []byte) (ret []byte, err error) { return RunProgram(GetProgram(codehash), evm.env, contract, input) case progUnknown: if evm.cfg.ForceJit { + // JIT support has fallen off; gas calculations are no longer in consensus + // with the network. + panic("JIT not supported in this release") + // Create and compile program program = NewProgram(contract.Code) perr := CompileProgram(program)