Start using tree vector

This commit is contained in:
Michael Sproul
2022-01-25 18:59:26 +11:00
parent 6714edf95b
commit 96bdc29419
11 changed files with 113 additions and 29 deletions

View File

@@ -63,6 +63,7 @@ pub fn upgrade_to_bellatrix<E: EthSpec>(
committee_caches: mem::take(&mut pre.committee_caches),
pubkey_cache: mem::take(&mut pre.pubkey_cache),
exit_cache: mem::take(&mut pre.exit_cache),
#[cfg(not(feature = "milhouse"))]
tree_hash_cache: mem::take(&mut pre.tree_hash_cache),
});