Skip to content

Commit

Permalink
chore: add log for signing account
Browse files Browse the repository at this point in the history
  • Loading branch information
abarmat committed Apr 4, 2024
1 parent b8fb5a2 commit f5e2d1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions availability-oracle/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ use common::prelude::*;
use common::prometheus;
use contract::*;
use ethers::abi::Address;
use ethers::signers::LocalWallet;
use ethers::signers::Signer;
use ipfs::*;
use manifest::{Abi, DataSource, Manifest, Mapping};
use network_subgraph::*;
Expand Down Expand Up @@ -159,6 +161,8 @@ async fn run(logger: Logger, config: Config) -> Result<()> {
Box::new(StateManagerDryRun::new(logger.clone()))
} else {
let signing_key: &SecretKey = &config.signing_key.unwrap().parse()?;
let wallet = LocalWallet::from_bytes(signing_key.as_ref()).unwrap();
info!(logger, "Signing account {}", wallet.address().to_string());
state_manager(
config.url,
signing_key,
Expand Down

0 comments on commit f5e2d1e

Please sign in to comment.