Fix tree-states tests after latest update (#5528)

* Fix clippy

* Fix beacon chain tests

* Comment out dodgy iterator test

* Fix imports for beta compiler
This commit is contained in:
Michael Sproul
2024-04-08 09:40:33 +10:00
committed by GitHub
parent 0d9fb5a755
commit 8705ac507b
10 changed files with 31 additions and 33 deletions

View File

@@ -881,9 +881,7 @@ pub fn serve<T: BeaconChainTypes>(
relative_epoch,
) =>
{
state
.committee_cache(relative_epoch)
.map(Arc::clone)
state.committee_cache(relative_epoch).cloned()
}
_ => CommitteeCache::initialized(
state,