prysm-pulse/runtime/version/fork.go
2021-10-09 15:27:34 +02:00

18 lines
209 B
Go

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