Skip to content

Commit

Permalink
fix: typos in documentation files (BitVM#225)
Browse files Browse the repository at this point in the history
* Update std.rs

* Update segment.rs

* Update elements.rs

* Update blake3_u4_compact.rs
  • Loading branch information
leopardracer authored Feb 25, 2025
1 parent cd4c4ed commit 178540a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bitvm/src/bigint/std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ mod test {
{U876::transform_limbsize(19, 27)}
{U876::transform_limbsize(27, 14)}

//push the same input in reverse and verfify
//push the same input in reverse and verify
for _ in 0..62{
{0b00000000000000}
OP_EQUALVERIFY
Expand Down
2 changes: 1 addition & 1 deletion bitvm/src/chunker/elements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::{chunker::assigner::BCAssigner, execute_script_with_inputs};
use std::any::Any;
use std::fmt::Debug;

/// FqElements are used in the chunker, representing muliple Fq.
/// FqElements are used in the chunker, representing multiple Fq.
#[derive(Debug, Clone)]
pub struct FqElement {
pub identity: String,
Expand Down
4 changes: 2 additions & 2 deletions bitvm/src/chunker/segment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ mod tests {
);

let res = execute_script_with_inputs(script, witness);
println!("res.successs {}", res.success);
println!("res.success {}", res.success);
println!("res.stack len {}", res.final_stack.len());
println!("rse.remaining: {}", res.remaining_script);
println!("res: {:1000}", res);
Expand Down Expand Up @@ -270,7 +270,7 @@ mod tests {
);

let res = execute_script_with_inputs(script, witness);
println!("res.successs {}", res.success);
println!("res.success {}", res.success);
println!("res.stack len {}", res.final_stack.len());
println!("rse.remaining: {}", res.remaining_script);
println!("res: {:1000}", res);
Expand Down
2 changes: 1 addition & 1 deletion bitvm/src/hash/blake3_u4_compact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ mod tests {
input_byte_arr.extend_from_slice(&array);
}

//processing the string to corrrect for endianess when pushing into stack
//processing the string to correct for endianess when pushing into stack
let input_str_processed = hex::encode(input_byte_arr.clone());

// compute the hash using the official implementation
Expand Down

0 comments on commit 178540a

Please sign in to comment.