Skip to content

Commit

Permalink
chore: fix typo (#267)
Browse files Browse the repository at this point in the history
* chore:fix typo

* chore:fix typo
  • Loading branch information
goofylfg authored Apr 16, 2024
1 parent 321f00b commit 9748faf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hashes/zkevm/src/keccak/component/circuit/shard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl KeccakComponentShardCircuitParams {
let max_rows = (1 << k) - num_unusable_row;
// Derived from [crate::keccak::vanilla::keccak_packed_multi::get_keccak_capacity].
let rows_per_round = max_rows / (capacity * (NUM_ROUNDS + 1) + 1 + NUM_WORDS_TO_ABSORB);
assert!(rows_per_round > 0, "No enough rows for the speficied capacity");
assert!(rows_per_round > 0, "No enough rows for the specified capacity");
let keccak_circuit_params = KeccakConfigParams { k: k as u32, rows_per_round };
let base_circuit_params = BaseCircuitParams {
k,
Expand Down
2 changes: 1 addition & 1 deletion hashes/zkevm/src/util/word.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Define generic Word type with utility functions
// Naming Convesion
// Naming conversion
// - Limbs: An EVM word is 256 bits **big-endian**. Limbs N means split 256 into N limb. For example, N = 4, each
// limb is 256/4 = 64 bits

Expand Down

0 comments on commit 9748faf

Please sign in to comment.