15 lines
452 B
Go
Executable File
15 lines
452 B
Go
Executable File
package versionutil
|
|
|
|
import "git.marketally.com/tutus-one/tutus-chain/pkg/config"
|
|
|
|
// TestVersion is a NeoGo version that should be used to keep all
|
|
// compiled NEFs the same from run to run for tests.
|
|
const TestVersion = "0.90.0-test"
|
|
|
|
// init sets config.Version to a dummy TestVersion value to keep contract NEFs
|
|
// consistent between test runs for those packages who import it. For test usage
|
|
// only!
|
|
func init() {
|
|
config.Version = TestVersion
|
|
}
|