Function zebra_state::service::finalized_state::disk_format::upgrade::cache_genesis_roots::quick_check
source · pub fn quick_check(db: &ZebraDb) -> Result<(), String>
Expand description
Quickly check that the genesis trees and sprout tip tree have cached roots.
This allows us to fail the upgrade quickly in tests and during development, rather than waiting to see if it failed.
§Panics
If the state is empty.