diff --git a/validator_client/src/block_producer_service/beacon_block_grpc_client.rs b/validator_client/src/block_producer_service/beacon_block_grpc_client.rs index bbf9783361..c1aee86e5f 100644 --- a/validator_client/src/block_producer_service/beacon_block_grpc_client.rs +++ b/validator_client/src/block_producer_service/beacon_block_grpc_client.rs @@ -65,11 +65,8 @@ impl BeaconNode for BeaconBlockGrpcClient { signature, body: BeaconBlockBody { proposer_slashings: vec![], - casper_slashings: vec![], + attester_slashings: vec![], attestations: vec![], - custody_reseeds: vec![], - custody_challenges: vec![], - custody_responses: vec![], deposits: vec![], exits: vec![], }, diff --git a/validator_client/src/main.rs b/validator_client/src/main.rs index 0e1fd4a6bc..8fa49e51c5 100644 --- a/validator_client/src/main.rs +++ b/validator_client/src/main.rs @@ -88,9 +88,12 @@ fn main() { let spec = Arc::new(ChainSpec::foundation()); // Clock for determining the present slot. + // TODO: this shouldn't be a static time, instead it should be pulled from the beacon node. + // https://github.com/sigp/lighthouse/issues/160 + let genesis_time = 1_549_935_547; let slot_clock = { - info!(log, "Genesis time"; "unix_epoch_seconds" => spec.genesis_time); - let clock = SystemTimeSlotClock::new(spec.genesis_time, spec.slot_duration) + info!(log, "Genesis time"; "unix_epoch_seconds" => genesis_time); + let clock = SystemTimeSlotClock::new(genesis_time, spec.slot_duration) .expect("Unable to instantiate SystemTimeSlotClock."); Arc::new(clock) };