File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
beacon_node/beacon_chain/src Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -137,13 +137,6 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
137
137
// If prune-payloads is set to false, store the block which includes the execution payload
138
138
self . store
139
139
. block_as_kv_store_ops ( & block_root, ( * block) . clone ( ) , & mut hot_batch) ?;
140
-
141
- info ! (
142
- self . log,
143
- "Storing full block with execution payload" ;
144
- "block_root" => ?block_root,
145
- "slot" => block. slot( ) ,
146
- ) ;
147
140
} else {
148
141
let blinded_block = block. clone_as_blinded ( ) ;
149
142
// Store block in the hot database without payload.
@@ -152,14 +145,14 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
152
145
& blinded_block,
153
146
& mut hot_batch,
154
147
) ;
155
-
156
- info ! (
157
- self . log,
158
- "Does not store execution payload" ;
159
- "block_root" => ?block_root,
160
- "slot" => block. slot( ) ,
161
- ) ;
162
148
}
149
+
150
+ info ! (
151
+ self . log,
152
+ "Downloading historical blocks" ;
153
+ "Keep execution payload" => !self . store. get_config( ) . prune_payloads,
154
+ ) ;
155
+
163
156
// Store the blobs too
164
157
if let Some ( blobs) = maybe_blobs {
165
158
new_oldest_blob_slot = Some ( block. slot ( ) ) ;
You can’t perform that action at this time.
0 commit comments