fn inner_delete_state_snapshots<CTX: ContextTr<Db: DatabaseExt>>( ccx: &mut CheatsCtxt<'_, CTX>, ) -> Result