Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore : fix typos #1087

Merged
merged 2 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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