Skip to content

Commit

Permalink
chore: bump default ISM max depth from 5 to 7 (#3989)
Browse files Browse the repository at this point in the history
### Description

Needed for some Renzo messages that hit the max depth

### Drive-by changes

- drive by to update the agent config with the updated registry

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
  • Loading branch information
tkporter authored Jun 19, 2024
1 parent 9c7cf45 commit bbbe932
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion rust/agents/relayer/src/msg/metadata/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,9 @@ pub struct BaseMetadataBuilder {
allow_local_checkpoint_syncers: bool,
metrics: Arc<CoreMetrics>,
db: HyperlaneRocksDB,
max_depth: u32,
app_context_classifier: IsmAwareAppContextClassifier,
#[new(value = "7")]
max_depth: u32,
}

impl Debug for BaseMetadataBuilder {
Expand Down
1 change: 0 additions & 1 deletion rust/agents/relayer/src/msg/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ mod test {
false,
Arc::new(core_metrics),
db.clone(),
5,
IsmAwareAppContextClassifier::new(Arc::new(MockMailboxContract::default()), vec![]),
)
}
Expand Down
1 change: 0 additions & 1 deletion rust/agents/relayer/src/relayer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit bbbe932

Please sign in to comment.