mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
**What type of PR is this?** Feature **What does this PR do? Why is it needed?** This PR adds integrates state-diff into `HasState()`. One thing to note: we are assuming that, for a given block root, that has either a state summary or a block in db, and also falls in the state diff tree, then there must exist a state. This function could return true, even when there is no actual state saved due to any error. But this is fine, because we have that assumption throughout the whole state diff feature.
52 B
52 B
Added
- Integrate state-diff into
HasState().