Skip to content

Commit ffd956d

Browse files
committed
chore: fix typos
Signed-off-by: Lorenzo Delgado <[email protected]>
1 parent e38b298 commit ffd956d

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

crates/attestation/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ fn wallet_for_allocation(
9696
// range [0, 100] and checking for a match
9797
for i in 0..100 {
9898
// The allocation was either created at the epoch it intended to or one
99-
// epoch later. So try both both.
99+
// epoch later. So try both.
100100
for created_at_epoch in [allocation.created_at_epoch, allocation.created_at_epoch - 1] {
101101
// The allocation ID is the address of a unique key pair, we just
102102
// need to find the right one by enumerating them all

crates/service/src/database/cost_model.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ fn merge_global(model: CostModel, global_model: &DbCostModel) -> CostModel {
190190

191191
#[cfg(test)]
192192
pub(crate) mod test {
193-
194193
use std::str::FromStr;
195194

196195
use sqlx::PgPool;
@@ -295,7 +294,7 @@ pub(crate) mod test {
295294
.await
296295
.expect("cost models query with deployment filter");
297296

298-
// Expect two cost mdoels to be returned
297+
// Expect two cost models to be returned
299298
assert_eq!(models.len(), sample_deployments.len());
300299

301300
// Expect both returned deployments to be identical to the test data

crates/service/src/service/router.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ impl ServiceRouter {
372372
matched_path,
373373
)
374374
})
375-
// we disable failures here because we doing our own error logging
375+
// we disable failures here because we are doing our own error logging
376376
.on_failure(
377377
|_error: tower_http::classify::ServerErrorsFailureClass,
378378
_latency: Duration,
@@ -387,7 +387,7 @@ impl ServiceRouter {
387387
let operator_address =
388388
Json(serde_json::json!({ "publicKey": public_key(&operator_mnemonic)?}));
389389

390-
// Graphnode state
390+
// Graph node state
391391
let graphnode_state = GraphNodeState {
392392
graph_node_client: self.http_client,
393393
graph_node_status_url: self.graph_node.status_url,

crates/tap-agent/src/agent/sender_account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@ pub mod tests {
16811681

16821682
let max_unaggregated_fees_per_sender: u128 = 1000;
16831683

1684-
// Making sure no RAV is gonna be triggered during the test
1684+
// Making sure no RAV is going to be triggered during the test
16851685
let (sender_account, notify, _, _) = create_sender_account(
16861686
pgpool.clone(),
16871687
HashSet::new(),

0 commit comments

Comments
 (0)