Skip to content

Commit

Permalink
debug config_file()
Browse files Browse the repository at this point in the history
  • Loading branch information
ktdlr committed Oct 28, 2024
1 parent 04ee093 commit 004637b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
run: |
env &&
cd ./packages/ciphernode/
cargo test
cargo test -- --nocapture
2 changes: 2 additions & 0 deletions packages/ciphernode/config/src/app_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,10 @@ chains:
"#,
)?;

println!("AppConfig::default().config_file: {:?}", AppConfig::default().config_file());
let config: AppConfig = load_config(None).map_err(|err| err.to_string())?;
let chain = config.chains().first().unwrap();

assert_eq!(chain.name, "hardhat");
assert_eq!(chain.rpc_url, "ws://localhost:8545");
assert_eq!(
Expand Down

0 comments on commit 004637b

Please sign in to comment.