From 8294f94658daf131b55fb6ca908ebbb2ec673648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alonso=20Gonz=C3=A1lez?= Date: Wed, 11 Sep 2024 15:51:45 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com> --- evm_arithmetization/src/generation/linked_list.rs | 2 +- evm_arithmetization/src/generation/state.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evm_arithmetization/src/generation/linked_list.rs b/evm_arithmetization/src/generation/linked_list.rs index 0e00e8fea..aa0b593e3 100644 --- a/evm_arithmetization/src/generation/linked_list.rs +++ b/evm_arithmetization/src/generation/linked_list.rs @@ -14,7 +14,7 @@ pub const STORAGE_LINKED_LIST_NODE_SIZE: usize = 5; pub(crate) trait LinkedListType {} #[derive(Clone)] -/// A linked list that starts from the first node after the special node and iterates for ever. +/// A linked list that starts from the first node after the special node and iterates forever. pub(crate) struct Cyclic; #[derive(Clone)] /// A linked list that starts from the special node and iterates until the last node. diff --git a/evm_arithmetization/src/generation/state.rs b/evm_arithmetization/src/generation/state.rs index 89bdbd3d2..f080378dc 100644 --- a/evm_arithmetization/src/generation/state.rs +++ b/evm_arithmetization/src/generation/state.rs @@ -379,7 +379,7 @@ pub struct GenerationState { /// j in [i, i+32] it holds that code[j] < 0x7f - j + i. pub(crate) jumpdest_table: Option>>, - /// Each entry contains the pait (key, ptr) where key is the (hashed) key + /// Each entry contains the pair (key, ptr) where key is the (hashed) key /// of an account in the accounts linked list, and ptr is the respective /// node address in memory. pub(crate) accounts: BTreeMap,