From cefac14a28257a5357da27c79be6e188186eb9e3 Mon Sep 17 00:00:00 2001 From: FT <140458077+zeevick10@users.noreply.github.com> Date: Thu, 24 Apr 2025 20:42:07 +0200 Subject: [PATCH] chore: fix typo and remove redundant article in comments (#15915) --- crates/optimism/txpool/src/supervisor/client.rs | 4 ++-- testing/ef-tests/src/cases/blockchain_test.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/optimism/txpool/src/supervisor/client.rs b/crates/optimism/txpool/src/supervisor/client.rs index 02d1f980bb..c36b82eb95 100644 --- a/crates/optimism/txpool/src/supervisor/client.rs +++ b/crates/optimism/txpool/src/supervisor/client.rs @@ -24,7 +24,7 @@ use tracing::trace; pub const DEFAULT_SUPERVISOR_URL: &str = "http://localhost:1337/"; /// The default request timeout to use -const DEFAULT_REQUEST_TIMOUT: Duration = Duration::from_millis(100); +const DEFAULT_REQUEST_TIMEOUT: Duration = Duration::from_millis(100); /// Implementation of the supervisor trait for the interop. #[derive(Debug, Clone)] @@ -48,7 +48,7 @@ impl SupervisorClient { Self { client, safety, - timeout: DEFAULT_REQUEST_TIMOUT, + timeout: DEFAULT_REQUEST_TIMEOUT, metrics: SupervisorMetrics::default(), } } diff --git a/testing/ef-tests/src/cases/blockchain_test.rs b/testing/ef-tests/src/cases/blockchain_test.rs index 21d2411107..1b57b4c4ec 100644 --- a/testing/ef-tests/src/cases/blockchain_test.rs +++ b/testing/ef-tests/src/cases/blockchain_test.rs @@ -76,7 +76,7 @@ impl BlockchainTestCase { name.contains("UncleFromSideChain") } - /// If the test expects an exception, return the the block number + /// If the test expects an exception, return the block number /// at which it must occur together with the original message. /// /// Note: There is a +1 here because the genesis block is not included