Skip to content

Commit cafd98e

Browse files
authored
Fix Typos in LightClient.t.sol and api.rs (#2427)
# Fix Typos in `LightClient.t.sol` and `api.rs` ## Description This pull request fixes minor typos in the following files: 1. **`contracts/test/LightClient.t.sol`**: - Corrected `initiazing` to `initializing` in a comment. 2. **`sequencer/src/api.rs`**: - Fixed `atleast` to `at least` in a log message. ## Changes - These changes improve code readability and maintain high-quality documentation and logs. - **No functional changes**: The updates are purely related to comments and log messages. ### Context Maintaining proper spelling and clarity in comments and logs ensures better code quality and easier maintenance for all contributors. --- Feel free to suggest additional improvements!
2 parents fa44122 + b37c10d commit cafd98e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/test/LightClient.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ contract LightClient_constructor_Test is LightClientCommonTest {
109109
lc = new LCMock(_genesis, _genesisStakeTableState, _stateHistoryRetentionPeriod);
110110
}
111111

112-
// test that initiazing the contract reverts when the stateHistoryRetentionPeriod is below the
112+
// test that initializing the contract reverts when the stateHistoryRetentionPeriod is below the
113113
// required threshold
114114
function test_RevertWhen_InvalidStateHistoryRetentionPeriodOnSetUp() public {
115115
uint32 invalidRetentionPeriod = 10;

sequencer/src/api.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2452,7 +2452,7 @@ mod test {
24522452
);
24532453
receive_count += 1;
24542454
if receive_count > total_count {
2455-
tracing::info!("Client Received atleast desired events, exiting loop");
2455+
tracing::info!("Client Received at least desired events, exiting loop");
24562456
break;
24572457
}
24582458
}

0 commit comments

Comments
 (0)