Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/informalsystems/hermes in…
Browse files Browse the repository at this point in the history
…to astria
  • Loading branch information
noot committed Jan 17, 2024
2 parents ccb05dd + 1bf1319 commit fca16c6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions crates/relayer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,18 @@ impl ChainConfig {
Self::Astria(config) => config.query_packets_chunk_size = query_packets_chunk_size,
}
}

pub fn query_packets_chunk_size(&self) -> usize {
match self {
Self::CosmosSdk(config) => config.query_packets_chunk_size,
}
}

pub fn set_query_packets_chunk_size(&mut self, query_packets_chunk_size: usize) {
match self {
Self::CosmosSdk(config) => config.query_packets_chunk_size = query_packets_chunk_size,
}
}
}

/// Attempt to load and parse the TOML config file as a `Config`.
Expand Down

0 comments on commit fca16c6

Please sign in to comment.