Introduction
State expiry has long been considered complex, leading to limited implementation despite various proposals such as state rent, regenesis, and multi-period trees. With the introduction of Verkle Tree, EIP7736 simplifies the state expiry process by introducing an "expiry period" field to extension nodes, indicating if a stem has expired. Expired stems' leaves may be pruned, and users must submit a resurrection transaction to recover these pruned data.
Everything you need to know about state expiry [MZXQKJ]
Figure 1: "Everything you need to know about state expiry", Devcon Bangkok 2024
Detailed information is available in EIP7736.
Methodology
We modified go-ethereum (v1.15.5) for our analysis. The full code is here.