Skip to content

Commit

Permalink
fix test-framework doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Nov 9, 2023
1 parent 357b110 commit dce7242
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tools/test-framework/src/docs/walkthroughs/memo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//!
//! ```no_run
//! # use serde_json as json;
//! # use ibc_relayer::config::{types::Memo, Config};
//! # use ibc_relayer::config::{types::Memo, Config, ChainConfig};
//! # use ibc_test_framework::ibc::denom::derive_ibc_denom;
//! # use ibc_test_framework::prelude::*;
//! # use ibc_test_framework::util::random::{random_string, random_u128_range};
Expand All @@ -29,7 +29,11 @@
//! impl TestOverrides for MemoTest {
//! fn modify_relayer_config(&self, config: &mut Config) {
//! for mut chain in config.chains.iter_mut() {
//! chain.memo_prefix = self.memo.clone();
//! match chain {
//! ChainConfig::CosmosSdk(chain_config) | ChainConfig::Namada(chain_config) => {
//! chain_config.memo_prefix = self.memo.clone();
//! }
//! }
//! }
//! }
//! }
Expand Down

0 comments on commit dce7242

Please sign in to comment.