lotus/chain/actors/version.go

35 lines
605 B
Go
Raw Normal View History

package actors
type Version int
2021-10-18 15:46:50 +00:00
/* inline-gen template
var LatestVersion = {{.latestActorsVersion}}
2021-10-18 15:46:50 +00:00
var Versions = []int{ {{range .actorVersions}} {{.}}, {{end}} }
const ({{range .actorVersions}}
Version{{.}} Version = {{.}}{{end}}
)
/* inline-gen start */
2022-11-07 15:13:26 +00:00
var LatestVersion = 10
2022-11-07 15:13:26 +00:00
var Versions = []int{0, 2, 3, 4, 5, 6, 7, 8, 9, 10}
const (
2022-11-07 15:13:26 +00:00
Version0 Version = 0
Version2 Version = 2
Version3 Version = 3
Version4 Version = 4
Version5 Version = 5
Version6 Version = 6
Version7 Version = 7
Version8 Version = 8
Version9 Version = 9
Version10 Version = 10
)
2021-10-18 15:46:50 +00:00
/* inline-gen end */