Skip to content

Commit

Permalink
testing w more realistic params
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-savu committed Jan 9, 2025
1 parent f21d9d4 commit 6969314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ethers-middleware/src/gas_escalator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use ethers_providers::{interval, FromErr, Middleware, PendingTransaction, Stream
#[cfg(not(target_arch = "wasm32"))]
use tokio::spawn;

const RANDOM_TX_DROP_TRESHOLD: u64 = 4;
const RANDOM_TX_DROP_TRESHOLD: u64 = 3;

pub type ToEscalate = Arc<Mutex<Vec<MonitoredTransaction>>>;

Expand Down
2 changes: 1 addition & 1 deletion ethers-middleware/src/nonce_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::sync::atomic::{AtomicBool, AtomicU64, Ordering};
use thiserror::Error;
use tracing::instrument;

const DEFAULT_TX_COUNT_FOR_RESYNC: u64 = 3;
const DEFAULT_TX_COUNT_FOR_RESYNC: u64 = 7;

#[derive(Debug)]
/// Middleware used for calculating nonces locally, useful for signing multiple
Expand Down

0 comments on commit 6969314

Please sign in to comment.