Skip to content

Commit

Permalink
feat: add ethereum_hash and starknet_hash fields in send_raw_transact…
Browse files Browse the repository at this point in the history
…ion (#1344)

feeat: add fields to send_raw_transaction event
  • Loading branch information
eugypalu authored Aug 21, 2024
1 parent 93d7e9f commit d9a7eca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/providers/eth_provider/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,8 @@ where
}
let hash = transaction_signed.hash();
tracing::info!(
"Fired a transaction: Starknet Hash: {} --- Ethereum Hash: {}",
B256::from_slice(&res.transaction_hash.to_bytes_be()[..]),
hash
ethereum_hash = ?hash,
starknet_hash = ?B256::from_slice(&res.transaction_hash.to_bytes_be()[..]),
);

Ok(hash)
Expand Down

0 comments on commit d9a7eca

Please sign in to comment.