Merge tag 'v4.5.0' into tree-states

v4.5.0
This commit is contained in:
Michael Sproul
2023-09-26 11:21:44 +10:00
100 changed files with 1584 additions and 1662 deletions

View File

@@ -50,7 +50,7 @@ impl<E: EthSpec> StateCache<E> {
pub fn new(capacity: NonZeroUsize) -> Self {
StateCache {
finalized_state: None,
states: LruCache::new(capacity),
states: LruCache::new(capacity.get()),
block_map: BlockMap::default(),
capacity,
max_epoch: Epoch::new(0),