diff --git a/lgn-messages/src/types/v1/preprocessing/ext_tasks.rs b/lgn-messages/src/types/v1/preprocessing/ext_tasks.rs index 9670ceb..6564aae 100644 --- a/lgn-messages/src/types/v1/preprocessing/ext_tasks.rs +++ b/lgn-messages/src/types/v1/preprocessing/ext_tasks.rs @@ -447,7 +447,7 @@ pub enum FinalExtractionType { /// works with serde_json, except if a parent container uses a tagged /// union, this is an unresolved bug in serde. /// -/// This struct exists to change the map to a vec, to circunvent the above. +/// This struct exists to change the map to a vec, to circumvent the above. /// /// issue: https://github.com/serde-rs/serde/issues/1183 #[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)] diff --git a/lgn-messages/src/types/v1/query/tasks.rs b/lgn-messages/src/types/v1/query/tasks.rs index 1e24640..34da4df 100644 --- a/lgn-messages/src/types/v1/query/tasks.rs +++ b/lgn-messages/src/types/v1/query/tasks.rs @@ -59,7 +59,7 @@ pub enum QueryStep { pub struct MatchingRowInput { /// Proof key of this row proof pub proof_key: ProofKey, - /// Collumn cells info + /// Column cells info pub column_cells: RowCells, /// The placeholders pub placeholders: PlaceHolderLgn, diff --git a/lgn-worker/bin/upload-s3.pl b/lgn-worker/bin/upload-s3.pl index dcef720..dcf5448 100755 --- a/lgn-worker/bin/upload-s3.pl +++ b/lgn-worker/bin/upload-s3.pl @@ -22,7 +22,7 @@ # This will exit the script if any of the PPs are already present on S3 find({ wanted => \&check_not_on_s3, no_chdir => 1 }, '.'); -# Go back to the saved invokation directory +# Go back to the saved invocation directory chdir $current_dir; # Recursively upload the PPs to S3 diff --git a/lgn-worker/src/avs/utils.rs b/lgn-worker/src/avs/utils.rs index 8ca7a03..ded4894 100644 --- a/lgn-worker/src/avs/utils.rs +++ b/lgn-worker/src/avs/utils.rs @@ -52,7 +52,7 @@ pub fn read_password( } } -/// Read the key-store from a file path with the sepcified password. +/// Read the key-store from a file path with the specified password. pub fn read_keystore, S: AsRef<[u8]>>( key_path: P, password: S, diff --git a/lgn-worker/src/main.rs b/lgn-worker/src/main.rs index 9bf6b34..a1c504f 100755 --- a/lgn-worker/src/main.rs +++ b/lgn-worker/src/main.rs @@ -138,7 +138,7 @@ const ERROR_UUID_MISSING: &str = "uuid_missing"; const ERROR_UUID_INVALID: &str = "uuid_invalid"; const ERROR_ENVELOPE_PARSE_FAILED: &str = "envelope_parse_invalid"; const ERROR_ENVELOPE_INVALID_MP2_VERSION: &str = "envelope_invalid_mp2_version"; -const ERROR_ENVELOPE_INCOMPATIBLE_MP2_VERSION: &str = "envelope_incompatbile_mp2_version"; +const ERROR_ENVELOPE_INCOMPATIBLE_MP2_VERSION: &str = "envelope_incompatible_mp2_version"; const ERROR_PROOF_INVALID: &str = "proof_invalid"; const ERROR_PROOF_PANIC: &str = "proof_panic"; const ERROR_REPLY_SERIALIZATION_INVALID: &str = "reply_serialization_invalid"; @@ -452,7 +452,7 @@ async fn run(config: &Config) -> anyhow::Result<()> { /// this situation are tasks sent from the GW to the worker to be processed. The second stream is /// the worker requests, which contains the results of the tasks (either a proof or an error). /// -/// The nomeclature is inverted because it is written from the perspective of the gateway, and the +/// The nomenclature is inverted because it is written from the perspective of the gateway, and the /// client is automatically generated via tonic. async fn connect_to_gateway( config: &Config, @@ -636,7 +636,7 @@ async fn process_message_from_gateway( ) .increment(1); histogram!( - "zkmr_worker_task_sucessful_processing_duration_seconds", + "zkmr_worker_task_successful_processing_duration_seconds", "task_type" => task_type.clone(), ) .record(start_time.elapsed().as_secs_f64());