feat(anvil
): improve historic state access
#8293
Labels
A-internals
Area: internals
A-reth-anvil
Area: reth-anvil
C-anvil
Command: anvil
T-feature
Type: feature
Milestone
Component
Anvil
Describe the feature you would like
for historic blocks we currently need to acquire a write lock
foundry/crates/anvil/src/eth/backend/mem/mod.rs
Line 1729 in 88c9b7f
in case we need to fetch the state from disk:
foundry/crates/anvil/src/eth/backend/mem/storage.rs
Line 164 in 88c9b7f
this is very inefficient because it bottlenecks concurrent requests < current.height.
this can be improved in various ways,
foundry/crates/anvil/src/eth/backend/mem/storage.rs
Lines 164 to 166 in 88c9b7f
Additional context
No response
The text was updated successfully, but these errors were encountered: