Skip to content

Commit

Permalink
feat: log signing method used for transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
torives committed Feb 23, 2024
1 parent e5f4512 commit 53b2c16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions offchain/authority-claimer/src/signer/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ impl ConditionalSigner {
mnemonic,
account_index,
} => {
tracing::info!("signing method: mnemonic");
const DEFAULT_ACCOUNT_INDEX: u32 = 0;
let index = account_index.unwrap_or(DEFAULT_ACCOUNT_INDEX);
let wallet = MnemonicBuilder::<English>::default()
Expand All @@ -59,6 +60,7 @@ impl ConditionalSigner {
Ok(ConditionalSigner::LocalWallet(wallet))
}
TxSigningConfig::Aws { key_id, region } => {
tracing::info!("signing method: AWS KMS");
AwsSigner::new(key_id, chain_id, region)
.await
.map(ConditionalSigner::AwsSigner)
Expand Down

0 comments on commit 53b2c16

Please sign in to comment.