diff --git a/beacon_node/beacon_chain/src/beacon_chain.rs b/beacon_node/beacon_chain/src/beacon_chain.rs index 38b32ad2c2..ad05b155c4 100644 --- a/beacon_node/beacon_chain/src/beacon_chain.rs +++ b/beacon_node/beacon_chain/src/beacon_chain.rs @@ -933,7 +933,7 @@ impl BeaconChain { self.log, "Beacon block imported"; "block_root" => format!("{:?}", block_root), - "block_slot" => format!("{:?}", block_root), + "block_slot" => format!("{:?}", block.slot.as_u64()), ); let _ = self.event_handler.register(EventKind::BeaconBlockImported { block_root: *block_root, diff --git a/book/src/simple-testnet.md b/book/src/simple-testnet.md index 9b062badeb..40c7b1e90d 100644 --- a/book/src/simple-testnet.md +++ b/book/src/simple-testnet.md @@ -35,7 +35,7 @@ $ lighthouse bn testnet -f recent 8 In a new terminal window, start the validator client with: ```bash -$ lighthouse bn testnet -b insecure 0 8 +$ lighthouse vc testnet -b insecure 0 8 ``` > Notes: diff --git a/eth2/types/src/test_utils/builders/testing_attestation_data_builder.rs b/eth2/types/src/test_utils/builders/testing_attestation_data_builder.rs index f5abb46150..7be93fd472 100644 --- a/eth2/types/src/test_utils/builders/testing_attestation_data_builder.rs +++ b/eth2/types/src/test_utils/builders/testing_attestation_data_builder.rs @@ -14,7 +14,7 @@ impl TestingAttestationDataBuilder { pub fn new( test_task: AttestationTestTask, state: &BeaconState, - mut index: u64, + index: u64, mut slot: Slot, spec: &ChainSpec, ) -> Self {