diff --git a/lib/core/src/persist/cache.rs b/lib/core/src/persist/cache.rs
index 085cf334b..0c32d91e7 100644
--- a/lib/core/src/persist/cache.rs
+++ b/lib/core/src/persist/cache.rs
@@ -2,13 +2,14 @@ use anyhow::Result;
use rusqlite::{Transaction, TransactionBehavior};
use std::str::FromStr;
+use crate::sync::model::{data::LAST_DERIVATION_INDEX_DATA_ID, RecordType};
+
use super::Persister;
const KEY_SWAPPER_PROXY_URL: &str = "swapper_proxy_url";
const KEY_IS_FIRST_SYNC_COMPLETE: &str = "is_first_sync_complete";
const KEY_WEBHOOK_URL: &str = "webhook_url";
-// TODO: The `last_derivation_index` needs to be synced
-const KEY_LAST_DERIVATION_INDEX: &str = "last_derivation_index";
+pub(crate) const KEY_LAST_DERIVATION_INDEX: &str = "last_derivation_index";
impl Persister {
fn get_cached_item_inner(tx: &Transaction, key: &str) -> Result