Skip to content

Commit

Permalink
chore : fix typos (#1087)
Browse files Browse the repository at this point in the history
* chore : fix typos

* revert infura
  • Loading branch information
nkysg authored Jul 21, 2024
1 parent 2be7dde commit 2dea91e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/consensus/src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down
2 changes: 1 addition & 1 deletion crates/rpc-types-admin/src/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
/// The protocol of the peer.
Expand Down
2 changes: 1 addition & 1 deletion crates/rpc-types-mev/src/mev_calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ mod tests {
}

#[test]
fn can_dererialize_sim_response() {
fn can_deserialize_sim_response() {
let expected = r#"
{
"success": true,
Expand Down
2 changes: 1 addition & 1 deletion crates/rpc-types-trace/src/otterscan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ mod tests {
}

#[test]
fn test_otterscan_interal_operation() {
fn test_otterscan_internal_operation() {
let s = r#"{
"type": 0,
"from": "0xea593b730d745fb5fe01b6d20e6603915252c6bf",
Expand Down

0 comments on commit 2dea91e

Please sign in to comment.