Module coalesced_state

Module coalesced_state 

Source
Expand description

State provider wrapper that pre-coalesces the in-memory block storage into a single hashmap keyed by (address, slot), so each SLOAD is one lookup instead of a linear walk over every unflushed in-memory block.

Structsยง

CoalescedOverlay
Coalesced view of the in-memory block storage overlay.
CoalescedStateProvider
Wraps an existing StateProvider (typically a MemoryOverlayStateProvider) with a precomputed storage overlay so SLOADs served from the overlay cost a single hashmap probe instead of scanning every in-memory block.