Instead of decoding each state to get the `key_state`. Only if state pruning takes more than an epoch on mainnet.