github.com/ethereum-optimism/optimism/l2geth@v0.0.0-20230612200230-50b04ade19e3/core/vm/ovm_state_dump.go (about)

     1  package vm
     2  
     3  import (
     4  	"os"
     5  )
     6  
     7  // UsingOVM is used to enable or disable functionality necessary for the OVM.
     8  var UsingOVM bool
     9  
    10  func init() {
    11  	UsingOVM = os.Getenv("USING_OVM") == "true"
    12  }