Update committee cache to carry PTC

This commit is contained in:
Michael Sproul
2026-05-14 13:23:51 +10:00
parent a795451cf9
commit 90fcc51216
4 changed files with 117 additions and 56 deletions

View File

@@ -382,6 +382,7 @@ pub fn get_beacon_state_committees<T: BeaconChainTypes>(
.try_write_for(std::time::Duration::from_secs(1))
.and_then(|mut cache_write| cache_write.get(shuffling_id))
.and_then(|cache_item| cache_item.wait().ok())
.map(|cached_shuffling| cached_shuffling.committee_cache)
} else {
None
};