• rjl493456442's avatar
    core/state: implement fast storage deletion (#27955) · 3ff6b3c3
    rjl493456442 authored
    This changes implements faster post-selfdestruct iteration of storage slots for deletion, by using snapshot-storage+stacktrie to recover the trienodes to be deleted. This mechanism is only implemented for path-based schema. 
    
    For hash-based schema, the entire post-selfdestruct storage iteration is skipped, with this change, since hash-based does not actually perform deletion anyway. 
    
    ---------
    Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
    3ff6b3c3