From 1258c7f6763633eb7a4ba579f27556cf8a9ab5ae Mon Sep 17 00:00:00 2001 From: elmattic Date: Wed, 26 Feb 2025 15:48:41 +0100 Subject: [PATCH] Remove eth_mapping_ttl from client config --- src/cli_shared/cli/client.rs | 3 --- src/cli_shared/cli/config.rs | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cli_shared/cli/client.rs b/src/cli_shared/cli/client.rs index 3533aec1223..ba1fa5e6c0c 100644 --- a/src/cli_shared/cli/client.rs +++ b/src/cli_shared/cli/client.rs @@ -67,8 +67,6 @@ pub struct Client { pub healthcheck_address: SocketAddr, /// Load actors from the bundle file (possibly generating it if it doesn't exist) pub load_actors: bool, - /// `TTL` to set for Ethereum `Hash` to `Cid` entries or `None` to never reclaim them. - pub eth_mapping_ttl: Option, } impl Default for Client { @@ -96,7 +94,6 @@ impl Default for Client { crate::health::DEFAULT_HEALTHCHECK_PORT, ), load_actors: true, - eth_mapping_ttl: None, } } } diff --git a/src/cli_shared/cli/config.rs b/src/cli_shared/cli/config.rs index 93f0fee96a9..901b8ec7e3f 100644 --- a/src/cli_shared/cli/config.rs +++ b/src/cli_shared/cli/config.rs @@ -79,6 +79,7 @@ impl Default for FevmConfig { #[derive(Deserialize, Serialize, PartialEq, Eq, Default, Debug, Clone)] #[cfg_attr(test, derive(derive_quickcheck_arbitrary::Arbitrary))] pub struct ChainIndexerConfig { + /// Number of retention epochs for indexed entries. Set to `None` to disable reclamation. pub gc_retention_epochs: Option, }