prysm-pulse/runtime/version/fork.go
2021-11-16 08:36:13 -08:00

21 lines
246 B
Go

package version
const (
Phase0 = iota
Altair
Merge
)
func String(version int) string {
switch version {
case Phase0:
return "phase0"
case Altair:
return "altair"
case Merge:
return "merge"
default:
return "unknown version"
}
}