Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Salen <[email protected]>
  • Loading branch information
4l0n50 and Nashtare authored Sep 11, 2024
1 parent f54ffb6 commit 8294f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion evm_arithmetization/src/generation/linked_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion evm_arithmetization/src/generation/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ pub struct GenerationState<F: RichField> {
/// j in [i, i+32] it holds that code[j] < 0x7f - j + i.
pub(crate) jumpdest_table: Option<HashMap<usize, Vec<usize>>>,

/// 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<U256, usize>,
Expand Down

0 comments on commit 8294f94

Please sign in to comment.