Skip to content

Commit

Permalink
chore: fix typos (zkonduit#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxianBoy authored May 29, 2024
1 parent 3fa482c commit 095c0ca
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub const DEFAULT_CALIBRATION_FILE: &str = "calibration.json";
pub const DEFAULT_LOOKUP_SAFETY_MARGIN: &str = "2";
/// Default Compress selectors
pub const DEFAULT_DISABLE_SELECTOR_COMPRESSION: &str = "false";
/// Default render vk seperately
/// Default render vk separately
pub const DEFAULT_RENDER_VK_SEPERATELY: &str = "false";
/// Default VK sol path
pub const DEFAULT_VK_SOL: &str = "vk.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/graph/modules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use super::{VarVisibility, Visibility};

/// poseidon len to hash in tree
pub const POSEIDON_LEN_GRAPH: usize = 32;
/// Poseidon number of instancess
/// Poseidon number of instances
pub const POSEIDON_INSTANCES: usize = 1;

/// Poseidon module type
Expand Down
2 changes: 1 addition & 1 deletion src/graph/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ impl Node {
.collect::<Result<Vec<_>, Box<dyn Error>>>()?;

let homogenous_inputs = opkind.requires_homogenous_input_scales();
// autoamtically increases a constant's scale if it is only used once and
// automatically increases a constant's scale if it is only used once and
for input in homogenous_inputs
.into_iter()
.filter(|i| !deleted_indices.contains(i))
Expand Down
2 changes: 1 addition & 1 deletion src/graph/vars.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl ToFlags for Visibility {
impl<'a> From<&'a str> for Visibility {
fn from(s: &'a str) -> Self {
if s.contains("hashed/private") {
// split on last occurence of '/'
// split on last occurrence of '/'
let (_, outlets) = s.split_at(s.rfind('/').unwrap());
let outlets = outlets
.trim_start_matches('/')
Expand Down
2 changes: 1 addition & 1 deletion src/pfsys/evm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub enum EvmVerificationError {
/// EVM verify errors
#[error("evm deployment failed")]
Deploy,
/// Invalid Visibilit
/// Invalid Visibility
#[error("Invalid visibility")]
InvalidVisibility,
}
2 changes: 1 addition & 1 deletion src/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ fn buffer_to_felts(buffer: Vec<u8>) -> PyResult<Vec<String>> {
/// Arguments
/// -------
/// message: list[str]
/// List of field elements represnted as strings
/// List of field elements represented as strings
///
/// Returns
/// -------
Expand Down

0 comments on commit 095c0ca

Please sign in to comment.