prysm-pulse/runtime/version/fork.go
terencechain d4fa490dec
Handle blind block for DB (#10580)
* Handle blind block for DB

* Update blinded_beacon_block_bellatrix_test.go

* Update blocks_test.go

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-05-03 16:55:59 +00:00

24 lines
323 B
Go

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