Skip to content

Commit

Permalink
add sender addr log
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayanski committed Oct 21, 2024
1 parent 70015e2 commit 5657b81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cw-orch-daemon/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw-orch-daemon"
version = "0.27.1"
version = "0.27.2"
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
Expand Down
7 changes: 6 additions & 1 deletion cw-orch-daemon/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::{
log::print_if_log_disabled,
network_config,
senders::{builder::SenderBuilder, CosmosOptions, CosmosWalletKey},
DaemonAsyncBase, DaemonBuilder, DaemonStateFile, Wallet,
DaemonAsyncBase, DaemonBuilder, DaemonStateFile, TxSender, Wallet,
};

use super::{error::DaemonError, state::DaemonState};
Expand Down Expand Up @@ -134,6 +134,11 @@ impl DaemonAsyncBuilder {
..Default::default()
};
let sender = options.build(&chain_info).await?;
log::info!(
"Interacting on {} with address {}",
chain_info.chain_id,
sender.address()
);

let daemon = DaemonAsyncBase::new(sender, state);

Expand Down

0 comments on commit 5657b81

Please sign in to comment.