diff --git a/crates/consensus/src/account.rs b/crates/consensus/src/account.rs index 66d189f349a..66ff20dc741 100644 --- a/crates/consensus/src/account.rs +++ b/crates/consensus/src/account.rs @@ -19,7 +19,7 @@ pub struct Account { } impl Account { - /// Compute hash as committed to in the MPT trie without memoizing. + /// Compute hash as committed to in the MPT trie without memorizing. pub fn trie_hash_slow(&self) -> B256 { keccak256(alloy_rlp::encode(self)) } diff --git a/crates/rpc-types-admin/src/admin.rs b/crates/rpc-types-admin/src/admin.rs index d227d117670..65dc2af2f5d 100644 --- a/crates/rpc-types-admin/src/admin.rs +++ b/crates/rpc-types-admin/src/admin.rs @@ -213,7 +213,7 @@ pub struct PeerEvent { pub kind: PeerEventType, /// The peer's enode ID. pub peer: String, - /// An error ocurred on the peer. + /// An error occurred on the peer. #[serde(default, skip_serializing_if = "Option::is_none")] pub error: Option, /// The protocol of the peer. diff --git a/crates/rpc-types-mev/src/mev_calls.rs b/crates/rpc-types-mev/src/mev_calls.rs index f85ecfa294a..ea4b3950751 100644 --- a/crates/rpc-types-mev/src/mev_calls.rs +++ b/crates/rpc-types-mev/src/mev_calls.rs @@ -312,7 +312,7 @@ mod tests { } #[test] - fn can_dererialize_sim_response() { + fn can_deserialize_sim_response() { let expected = r#" { "success": true, diff --git a/crates/rpc-types-trace/src/otterscan.rs b/crates/rpc-types-trace/src/otterscan.rs index f5a71778cb2..a56ed47366e 100644 --- a/crates/rpc-types-trace/src/otterscan.rs +++ b/crates/rpc-types-trace/src/otterscan.rs @@ -280,7 +280,7 @@ mod tests { } #[test] - fn test_otterscan_interal_operation() { + fn test_otterscan_internal_operation() { let s = r#"{ "type": 0, "from": "0xea593b730d745fb5fe01b6d20e6603915252c6bf",