Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lgn-messages/src/types/v1/preprocessing/ext_tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion lgn-messages/src/types/v1/query/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lgn-worker/bin/upload-s3.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lgn-worker/src/avs/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: AsRef<Path>, S: AsRef<[u8]>>(
key_path: P,
password: S,
Expand Down
6 changes: 3 additions & 3 deletions lgn-worker/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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());
Expand Down