mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 12:58:31 +00:00
Save fetching state for blobs pruning
This commit is contained in:
@@ -612,10 +612,10 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
start_slot,
|
||||
end_slot,
|
||||
|| {
|
||||
(
|
||||
Ok((
|
||||
head.beacon_state.clone_with_only_committee_caches(),
|
||||
head.beacon_block_root,
|
||||
)
|
||||
))
|
||||
},
|
||||
&self.spec,
|
||||
)?;
|
||||
@@ -709,10 +709,10 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
start_slot,
|
||||
end_slot,
|
||||
|| {
|
||||
(
|
||||
Ok((
|
||||
head.beacon_state.clone_with_only_committee_caches(),
|
||||
head.beacon_state_root(),
|
||||
)
|
||||
))
|
||||
},
|
||||
&self.spec,
|
||||
)?;
|
||||
|
||||
Reference in New Issue
Block a user