Skip to content

Commit

Permalink
Apply comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LindaGuiga committed Aug 12, 2024
1 parent 99baad2 commit c320f6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions evm_arithmetization/src/cpu/kernel/asm/main.asm
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ global perform_final_checks:
%mload_global_metadata(@GLOBAL_METADATA_TXN_NUMBER_AFTER) %assert_eq
%pop3

// We add a dummy value as an initial trie data length,
// We set a dummy value as an initial trie data length,
// since the final transaction and receipt tries have already been
// added to `GLOBAL_METADATA_TRIE_DATA_SIZE`.
PUSH 1
Expand Down Expand Up @@ -206,7 +206,7 @@ global check_state_trie:
%mload_global_metadata(@GLOBAL_METADATA_TRIE_DATA_SIZE)
%assert_eq

// We add a dummy value as an initial trie data length,
// We set a dummy value as an initial trie data length,
// as we do not need to compute the actual trie data length here.
PUSH 1
global check_final_state_trie:
Expand Down
2 changes: 1 addition & 1 deletion evm_arithmetization/src/generation/mpt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ fn load_state_trie(
let storage_ptr_ptr = trie_data.len();
trie_data.push(Some((trie_data.len() + 2).into()));
trie_data.push(Some(code_hash.into_uint()));
// WE don't need to store the slot values, as they will be overwritten in
// We don't need to store the slot values, as they will be overwritten in
// `mpt_set_payload`.
let storage_ptr = load_mpt(storage_trie, trie_data, &parse_storage_value_no_return)?;
if storage_ptr == 0 {
Expand Down

0 comments on commit c320f6c

Please sign in to comment.