github.com/MetalBlockchain/subnet-evm@v0.4.9/plugin/evm/version.go (about)

     1  // (c) 2019-2021, Ava Labs, Inc. All rights reserved.
     2  // See the file LICENSE for licensing terms.
     3  
     4  package evm
     5  
     6  import (
     7  	"fmt"
     8  )
     9  
    10  var (
    11  	// GitCommit is set by the build script
    12  	GitCommit string
    13  	// Version is the version of Subnet EVM
    14  	Version string = "v0.4.9"
    15  )
    16  
    17  func init() {
    18  	if len(GitCommit) != 0 {
    19  		Version = fmt.Sprintf("%s@%s", Version, GitCommit)
    20  	}
    21  }