Skip to content

Commit 2fdddfb

Browse files
authored
fix: update fortuna version to 7.4.5 and enhance transaction submission logging (#2456)
* fix: update fortuna version to 7.4.5 and enhance transaction submission logging * refactor: remove unused chain_id and sequence_number parameters from transaction submission functions
1 parent c1bec00 commit 2fdddfb

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

apps/fortuna/Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/fortuna/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fortuna"
3-
version = "7.4.4"
3+
version = "7.4.5"
44
edition = "2021"
55

66
[lib]

apps/fortuna/src/eth_utils/utils.rs

+8-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ use {
22
crate::eth_utils::nonce_manager::NonceManaged,
33
anyhow::{anyhow, Result},
44
backoff::ExponentialBackoff,
5-
ethers::types::TransactionReceipt,
6-
ethers::types::U256,
7-
ethers::{contract::ContractCall, middleware::Middleware},
8-
std::sync::atomic::AtomicU64,
9-
std::sync::Arc,
5+
ethers::{
6+
contract::ContractCall,
7+
middleware::Middleware,
8+
types::{TransactionReceipt, U256},
9+
},
10+
std::sync::{atomic::AtomicU64, Arc},
1011
tokio::time::{timeout, Duration},
1112
tracing,
1213
};
@@ -261,6 +262,8 @@ pub async fn submit_tx<T: Middleware + NonceManaged + 'static>(
261262
/ 100,
262263
);
263264

265+
tracing::info!("Submitting transaction: {:?}", transaction);
266+
264267
let pending_tx = client
265268
.send_transaction(transaction.clone(), None)
266269
.await

0 commit comments

Comments
 (0)