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 grammar in comments and documentation #1448

Open
wants to merge 5 commits 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 aggregator/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ macro_rules! compression_layer_snark {

#[macro_export]
macro_rules! compression_layer_evm {
// generate a evm proof and verify it for compression layer
// generate an evm proof and verify it for compression layer
($previous_snark: ident, $param: ident, $degree: ident, $path: ident,$layer_index: expr) => {{
let timer = start_timer!(|| format!("gen layer {} snark", $layer_index));

Expand Down
2 changes: 1 addition & 1 deletion eth-types/src/evm_types/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Storage {
Storage(HashMap::new())
}

/// Generate an new instance of EVM storage given a `HashMap<Word, Word>`.
/// Generate a new instance of EVM storage given a `HashMap<Word, Word>`.
pub fn new(map: HashMap<Word, Word>) -> Self {
Self::from(map)
}
Expand Down
2 changes: 1 addition & 1 deletion eth-types/src/evm_types/transient_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl TransientStorage {
TransientStorage(HashMap::new())
}

/// Generate an new instance of EVM transient storage given a `HashMap<Word, Word>`.
/// Generate a new instance of EVM transient storage given a `HashMap<Word, Word>`.
pub fn new(map: HashMap<Word, Word>) -> Self {
Self::from(map)
}
Expand Down
2 changes: 1 addition & 1 deletion eth-types/src/geth_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ impl Transaction {
}
}

/// GethData is a type that contains all the information of a Ethereum block
/// GethData is a type that contains all the information of an Ethereum block
#[derive(Default, Debug, Clone)]
pub struct GethData {
/// chain id
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/tests/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Mainnet

Testings in `mainnet.rs` enable accessing a RPC node with debug API, and test any block or single transaction from the node. Trace and block witness would be rebuilt from the input data (block or tx) and then being mocking proven by a specified circuit.
Testings in `mainnet.rs` enable accessing an RPC node with debug API, and test any block or single transaction from the node. Trace and block witness would be rebuilt from the input data (block or tx) and then being mocking proven by a specified circuit.

The running parameters are specified by environment variables:

Expand Down
Loading