Checkpoint Sync 4/5 - enable checkpoint sync to be used by beacon node (#10386)

* enable checkpoint sync in beacon node

* lint fix

* rm unused error

* addressing PR feedback from Radek

* consistent slice -> fixed conversion

Co-authored-by: kasey <kasey@users.noreply.github.com>
This commit is contained in:
kasey
2022-03-28 16:01:55 -05:00
committed by GitHub
parent 1af3c07ec5
commit 7920528ede
31 changed files with 958 additions and 108 deletions

View File

@@ -30,6 +30,8 @@ func WrapFlags(flags []cli.Flag) []cli.Flag {
f = altsrc.NewUint64Flag(t)
case *cli.UintFlag:
f = altsrc.NewUintFlag(t)
case *cli.PathFlag:
f = altsrc.NewPathFlag(t)
case *cli.Int64Flag:
// Int64Flag does not work. See https://github.com/prysmaticlabs/prysm/issues/6478
panic(fmt.Sprintf("unsupported flag type type %T", f))