From 76e7ddb320271ee8b221f99943850195e675a1f7 Mon Sep 17 00:00:00 2001 From: crStiv Date: Mon, 16 Dec 2024 22:04:37 +0100 Subject: [PATCH] fix: multiple typos of different importance (#1019) --- bin/tx-prover/src/prover.rs | 2 +- bin/tx-prover/src/proxy/mod.rs | 4 ++-- miden-lib/asm/kernels/transaction/api.masm | 4 ++-- miden-tx/README.md | 2 +- miden-tx/src/auth/signatures/mod.rs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/tx-prover/src/prover.rs b/bin/tx-prover/src/prover.rs index 68e5850a2..7f566f1a4 100644 --- a/bin/tx-prover/src/prover.rs +++ b/bin/tx-prover/src/prover.rs @@ -39,7 +39,7 @@ impl RemoteTransactionProver { } /// Establishes a connection to the remote transaction prover server. The connection is - /// mantained for the lifetime of the prover. If the connection is already established, this + /// maintained for the lifetime of the prover. If the connection is already established, this /// method does nothing. async fn connect(&self) -> Result<(), RemoteTransactionProverError> { let mut client = self.client.write(); diff --git a/bin/tx-prover/src/proxy/mod.rs b/bin/tx-prover/src/proxy/mod.rs index 373e2bf29..f80126196 100644 --- a/bin/tx-prover/src/proxy/mod.rs +++ b/bin/tx-prover/src/proxy/mod.rs @@ -103,9 +103,9 @@ pub struct TriesCounter { /// - Next, the [Self::upstream_peer()] method is called. We use it to figure out which worker will /// process the request. Inside `upstream_peer()`, we pick a worker in a round-robin fashion and /// add the request to the queue of requests for that worker. Once the request gets to the front -/// of the queue, we forward it to the worker. This step is also in charge of assinging the +/// of the queue, we forward it to the worker. This step is also in charge of assigning the /// timeouts and enabling HTTP/2. Finally, we establish a connection with the worker. -/// - Before sending the request to the upstream server and if the connection succeed, the +/// - Before sending the request to the upstream server and if the connection succeeds, the /// [Self::upstream_request_filter()] method is called. In this method, we ensure that the correct /// headers are forwarded for gRPC requests. /// - If the connection fails, the [Self::fail_to_connect()] method is called. In this method, we diff --git a/miden-lib/asm/kernels/transaction/api.masm b/miden-lib/asm/kernels/transaction/api.masm index 5a3e9cae1..7687282d5 100644 --- a/miden-lib/asm/kernels/transaction/api.masm +++ b/miden-lib/asm/kernels/transaction/api.masm @@ -609,7 +609,7 @@ end #! - note_type is the note storage type. #! - execution_hint is the note execution hint tag and payload. #! - RECIPIENT is the recipient of the note. -#! - note_idx is the index of the crated note. +#! - note_idx is the index of the created note. #! #! Panics if: #! - the procedure is called from a non-account context. @@ -632,7 +632,7 @@ end #! Outputs: [note_idx, ASSET, pad(11)] #! #! Where: -#! - note_idx is the index of the the note to which the asset is added. +#! - note_idx is the index of the note to which the asset is added. #! - ASSET can be a fungible or non-fungible asset. #! #! Panics if: diff --git a/miden-tx/README.md b/miden-tx/README.md index ff59ef348..42c585a75 100644 --- a/miden-tx/README.md +++ b/miden-tx/README.md @@ -6,7 +6,7 @@ This crate contains tool for creating, executing, and proving Miden rollup trans This crate exposes a few components to compile, run, and prove transactions. -The first requirement is to have a `DataStore` implementation. `DataStore` objects are responsible to load the data needed by the transactions executor, specially the account's code, the reference block data, and the note's inputs. +The first requirement is to have a `DataStore` implementation. `DataStore` objects are responsible to load the data needed by the transactions executor, especially the account's code, the reference block data, and the note's inputs. ```rust let store = DataStore:new(); diff --git a/miden-tx/src/auth/signatures/mod.rs b/miden-tx/src/auth/signatures/mod.rs index 605b0ca5b..13d8956b2 100644 --- a/miden-tx/src/auth/signatures/mod.rs +++ b/miden-tx/src/auth/signatures/mod.rs @@ -34,7 +34,7 @@ pub fn get_falcon_signature( let nonce = sig.nonce(); // We convert the signature to a polynomial let s2 = sig.sig_poly(); - // We also need in the VM the expanded key corresponding to the public key the was provided + // We also need in the VM the expanded key corresponding to the public key that was provided // via the operand stack let h = key.compute_pub_key_poly().0; // Lastly, for the probabilistic product routine that is part of the verification procedure,