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

Fix comment typos (https://github.com/scroll-tech/zkevm-circuits/issues/1219) #1322

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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 bus-mapping/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl<P: JsonRpcClient> GethClient<P> {
}

/// Calls `eth_getBlockByNumber` via JSON-RPC returning a [`Block`]
/// returning all the block information including it's transaction's
/// returning all the block information including its transaction's
/// details.
pub async fn get_block_by_number(
&self,
Expand Down
2 changes: 1 addition & 1 deletion gadgets/src/is_zero.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! IsZero gadget works as follows:
//!
//! Given a `value` to be checked if it is zero:
//! - witnesses `inv0(value)`, where `inv0(x)` is 0 when `x` = 0, and
//! - witnesses: `inv0(value)`, where `inv0(x)` is 0 when `x` = 0, and
//! `1/x` otherwise

use eth_types::Field;
Expand Down
2 changes: 1 addition & 1 deletion zktrie/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl ZktrieState {
/// return true if the switch success, or false if db have not contain
/// corresponding root yet
/// notice the cached key would not be clean if we can successfully swith to
/// new snapshot since we consider it is not need to send more nodes data
/// new snapshot since we consider it is not needed to send more nodes data
/// from storage trace for the updated leafs
pub fn switch_to(&mut self, new_root: ZkTrieHash) -> bool {
let test_trie = self.zk_db.borrow_mut().new_trie(&new_root);
Expand Down
Loading