lighthouse/validator_client/src
Akihito Nakano a8d040c821 Fix timing issue in obtaining the Fork (#2158)
## Issue Addressed

Related PR: https://github.com/sigp/lighthouse/pull/2137#issuecomment-754712492

The Fork is required for VC to perform signing. Currently, it is not guaranteed that the Fork has been obtained at the point of the signing as the Fork is obtained at after ForkService starts. We will see the [error](851a4dca3c/validator_client/src/validator_store.rs (L127)) if VC could not perform the signing due to the timing issue.

> Unable to get Fork for signing

## Proposed Changes

Obtain the Fork on `init_from_beacon_node` to fix the timing issue.
2021-01-19 02:54:18 +00:00
..
http_api Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
http_metrics BN Fallback v2 (#2080) 2020-12-18 09:17:03 +00:00
attestation_service.rs BN Fallback v2 (#2080) 2020-12-18 09:17:03 +00:00
beacon_node_fallback.rs Remove duplicate log in BN fallback (#2116) 2021-01-06 03:01:48 +00:00
block_service.rs BN Fallback v2 (#2080) 2020-12-18 09:17:03 +00:00
check_synced.rs Remove duplicate log in BN fallback (#2116) 2021-01-06 03:01:48 +00:00
cli.rs Remove default beacon node value from clap (#2121) 2020-12-28 08:23:59 +00:00
config.rs BN Fallback v2 (#2080) 2020-12-18 09:17:03 +00:00
duties_service.rs BN Fallback v2 (#2080) 2020-12-18 09:17:03 +00:00
fork_service.rs Fix timing issue in obtaining the Fork (#2158) 2021-01-19 02:54:18 +00:00
initialized_validators.rs Fix new clippy lints (#2036) 2020-12-03 01:10:26 +00:00
key_cache.rs Implement key cache to reduce keystore loading times for validator_client (#1695) 2020-10-05 10:50:43 +00:00
lib.rs Fix timing issue in obtaining the Fork (#2158) 2021-01-19 02:54:18 +00:00
notifier.rs BN Fallback v2 (#2080) 2020-12-18 09:17:03 +00:00
validator_duty.rs Standard beacon api updates (#1831) 2020-11-09 23:13:56 +00:00
validator_store.rs Fix timing issue in obtaining the Fork (#2158) 2021-01-19 02:54:18 +00:00