diff --git a/rust/agents/relayer/src/msg/metadata/base.rs b/rust/agents/relayer/src/msg/metadata/base.rs index 74449d10ee..1416a7f56e 100644 --- a/rust/agents/relayer/src/msg/metadata/base.rs +++ b/rust/agents/relayer/src/msg/metadata/base.rs @@ -278,8 +278,9 @@ pub struct BaseMetadataBuilder { allow_local_checkpoint_syncers: bool, metrics: Arc, db: HyperlaneRocksDB, - max_depth: u32, app_context_classifier: IsmAwareAppContextClassifier, + #[new(value = "7")] + max_depth: u32, } impl Debug for BaseMetadataBuilder { diff --git a/rust/agents/relayer/src/msg/processor.rs b/rust/agents/relayer/src/msg/processor.rs index 1c81c30174..664c1dc640 100644 --- a/rust/agents/relayer/src/msg/processor.rs +++ b/rust/agents/relayer/src/msg/processor.rs @@ -452,7 +452,6 @@ mod test { false, Arc::new(core_metrics), db.clone(), - 5, IsmAwareAppContextClassifier::new(Arc::new(MockMailboxContract::default()), vec![]), ) } diff --git a/rust/agents/relayer/src/relayer.rs b/rust/agents/relayer/src/relayer.rs index 4206c0584a..3be0f1e590 100644 --- a/rust/agents/relayer/src/relayer.rs +++ b/rust/agents/relayer/src/relayer.rs @@ -242,7 +242,6 @@ impl BaseAgent for Relayer { settings.allow_local_checkpoint_syncers, core.metrics.clone(), db, - 5, IsmAwareAppContextClassifier::new( mailboxes[destination].clone(), settings.metric_app_contexts.clone(),