rm redundant `ConsensusFork.toString` (#4733)

This commit is contained in:
Etan Kissling 2023-03-14 02:24:10 +01:00 committed by GitHub
parent 5ef1ed5d96
commit ceefc49965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 13 deletions

View File

@ -453,19 +453,6 @@ template toString*(kind: ConsensusFork): string =
of ConsensusFork.Deneb:
"deneb"
template toString*(kind: ConsensusFork): string =
case kind
of ConsensusFork.Phase0:
"phase0"
of ConsensusFork.Altair:
"altair"
of ConsensusFork.Bellatrix:
"bellatrix"
of ConsensusFork.Capella:
"capella"
of ConsensusFork.Deneb:
"deneb"
template toFork*[T:
phase0.BeaconState |
phase0.HashedBeaconState |