eth2stats-client
eth2stats-client copied to clipboard
on teku, pre genesis, an error is thrown
Mai 26 10:21:19 ethnode-7451d4c7 eth2stats-client[21290]: time="2020-05-26T10:21:19+02:00" level=info msg="[core] getting beacon client version"
Mai 26 10:21:19 ethnode-7451d4c7 eth2stats-client[21290]: time="2020-05-26T10:21:19+02:00" level=info msg="[core] got beacon client version" version=teku/v0.11.3-dev-44d9e02a/linux-aarch_64/-ubuntu-
Mai 26 10:21:19 ethnode-7451d4c7 eth2stats-client[21290]: time="2020-05-26T10:21:19+02:00" level=info msg="[core] getting beacon client genesis time"
Mai 26 10:21:19 ethnode-7451d4c7 eth2stats-client[21290]: time="2020-05-26T10:21:19+02:00" level=error msg="[main] setting up: strconv.ParseInt: parsing "": invalid syntax"
it should be able to deal with this and retry until everything is ok
looks like it cannot parse an empty genesis_time in https://github.com/Alethio/eth2stats-client/blob/master/beacon/teku/teku.go#L41 which is reported as long as teku hasn't found the genesis time yet.
v0.0.10 should pass over this a little bit better