Skip to content

Commit

Permalink
Remove eth_mapping_ttl from client config
Browse files Browse the repository at this point in the history
  • Loading branch information
elmattic committed Feb 26, 2025
1 parent 8f8969c commit 1258c7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions src/cli_shared/cli/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u32>,
}

impl Default for Client {
Expand Down Expand Up @@ -96,7 +94,6 @@ impl Default for Client {
crate::health::DEFAULT_HEALTHCHECK_PORT,
),
load_actors: true,
eth_mapping_ttl: None,
}
}
}
1 change: 1 addition & 0 deletions src/cli_shared/cli/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u32>,
}

Expand Down

0 comments on commit 1258c7f

Please sign in to comment.