diff --git a/beacon_node/beacon_chain/src/historical_blocks.rs b/beacon_node/beacon_chain/src/historical_blocks.rs index 1541ed5c2a..8664641db8 100644 --- a/beacon_node/beacon_chain/src/historical_blocks.rs +++ b/beacon_node/beacon_chain/src/historical_blocks.rs @@ -137,13 +137,6 @@ impl BeaconChain { // If prune-payloads is set to false, store the block which includes the execution payload self.store .block_as_kv_store_ops(&block_root, (*block).clone(), &mut hot_batch)?; - - info!( - self.log, - "Storing full block with execution payload"; - "block_root" => ?block_root, - "slot" => block.slot(), - ); } else { let blinded_block = block.clone_as_blinded(); // Store block in the hot database without payload. @@ -152,14 +145,14 @@ impl BeaconChain { &blinded_block, &mut hot_batch, ); - - info!( - self.log, - "Does not store execution payload"; - "block_root" => ?block_root, - "slot" => block.slot(), - ); } + + info!( + self.log, + "Downloading historical blocks"; + "Keep execution payload" => !self.store.get_config().prune_payloads, + ); + // Store the blobs too if let Some(blobs) = maybe_blobs { new_oldest_blob_slot = Some(block.slot());