Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fix doc error
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang committed Sep 28, 2023
1 parent ee97ab1 commit 4695c50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testool/src/statetest/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::{
str::FromStr,
};

/// https://github.com/ethereum/tests/pull/857 "set default gasPrice to 10"
/// <https://github.com/ethereum/tests/pull/857> "set default gasPrice to 10"
pub const DEFAULT_BASE_FEE: u32 = 10;

#[derive(PartialEq, Eq, Debug, Clone)]
Expand Down
2 changes: 1 addition & 1 deletion zkevm-circuits/src/util/word.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ impl<F: Field, const N1: usize> WordExpr<F> for WordLimbs<Expression<F>, N1> {
}
}

/// Return the hash of the empty code as a Word<Value<F>> in little-endian.
/// Return the hash of the empty code as a `Word<Value<F>>` in little-endian.
pub fn empty_code_hash_word_value<F: Field>() -> Word<Value<F>> {
Word::from(CodeDB::empty_code_hash()).into_value()
}
Expand Down
2 changes: 1 addition & 1 deletion zkevm-circuits/src/witness/rw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ pub enum Rw {
tx_id: usize,
log_id: u64, // pack this can index together into address?
field_tag: TxLogFieldTag,
/// index has 3 usages depends on [`crate::table::TxLogFieldTag`]
/// index has 3 usages depends on `crate::table::TxLogFieldTag`
/// - topic index (0..4) if field_tag is TxLogFieldTag::Topic
/// - byte index if field_tag is TxLogFieldTag:Data
/// - 0 for other field tags
Expand Down

0 comments on commit 4695c50

Please sign in to comment.