diff --git a/book/src/advanced/intersect_options.md b/book/src/advanced/intersect_options.md index cf6300d5..78ceb899 100644 --- a/book/src/advanced/intersect_options.md +++ b/book/src/advanced/intersect_options.md @@ -4,9 +4,9 @@ Advanced options for instructing Oura from which point in the chain to start rea ## Feature -When running in daemon mode, Oura provides 4 different strategies for finding the instersection point within the chain sync process. +When running in daemon mode, Oura provides 4 different strategies for finding the intersection point within the chain sync process. -- `Origin`: Oura will start reading from the begining of the chain. +- `Origin`: Oura will start reading from the beginning of the chain. - `Tip`: Oura will start reading from the current tip of the chain. - `Point`: Oura will start reading from a particular point (slot, hash) in the chain. If the point is not found, the process will be terminated with a non-zero exit code. - `Fallbacks`: Oura will start reading the first valid point within a set of alternative positions. If point is not valid, the process will fallback into the next available point in the list of options. If none of the points are valid, the process will be terminated with a non-zero exit code. diff --git a/src/sinks/aws_lambda/run.rs b/src/sinks/aws_lambda/run.rs index 72cda84c..ebaa870a 100644 --- a/src/sinks/aws_lambda/run.rs +++ b/src/sinks/aws_lambda/run.rs @@ -45,7 +45,7 @@ pub fn writer_loop( let result = rt.block_on(invoke_lambda_function(client, function_name, &event)); if let Err(err) = result { - log::error!("unrecoverable error invoking lambda funcion: {:?}", err); + log::error!("unrecoverable error invoking lambda function: {:?}", err); return Err(err); } } diff --git a/src/sources/common.rs b/src/sources/common.rs index 7083ccea..ee535129 100644 --- a/src/sources/common.rs +++ b/src/sources/common.rs @@ -282,7 +282,7 @@ pub(crate) fn define_start_point( Ok(Some(points?)) } Some(IntersectArg::Origin) => { - log::info!("found 'origin' instersect argument, will use as starting point"); + log::info!("found 'origin' intersect argument, will use as starting point"); Ok(None) } diff --git a/src/sources/n2c/blocks.rs b/src/sources/n2c/blocks.rs index f573ede3..ea7d8b5f 100644 --- a/src/sources/n2c/blocks.rs +++ b/src/sources/n2c/blocks.rs @@ -38,8 +38,8 @@ impl TryFrom for MultiEraBlock { Ok(MultiEraBlock::Byron(Box::new(block))) } probing::Outcome::Inconclusive => { - log::error!("CBOR hex for debubbing: {}", hex::encode(bytes)); - Err("can't infer primitive block from cbor, inconslusive probing".into()) + log::error!("CBOR hex for debugging: {}", hex::encode(bytes)); + Err("can't infer primitive block from cbor, inconclusive probing".into()) } } } diff --git a/src/sources/n2n/run.rs b/src/sources/n2n/run.rs index 7cb06b96..12478a21 100644 --- a/src/sources/n2n/run.rs +++ b/src/sources/n2n/run.rs @@ -52,7 +52,7 @@ impl blockfetch::Observer for Block2EventMapper { .ok_or_warn("error crawling block for events"); } probing::Outcome::Inconclusive => { - log::error!("can't infer primitive block from cbor, inconslusive probing. CBOR hex for debubbing: {}", hex::encode(body)); + log::error!("can't infer primitive block from cbor, inconclusive probing. CBOR hex for debugging: {}", hex::encode(body)); } } diff --git a/src/utils/mod.rs b/src/utils/mod.rs index e662be83..85ba209f 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -2,7 +2,7 @@ //! //! This module includes general-purpose utilities that could potentially be //! used by more than a single stage. The entry point to this utilities is -//! desgined as singelton [`Utils`] instance shared by all stages through an Arc +//! designed as singleton [`Utils`] instance shared by all stages through an Arc //! pointer. use std::sync::Arc; @@ -164,9 +164,9 @@ impl Utils { /// Wraps a struct with pipeline-wide utilities /// /// Most of the stage bootstrapping processes will require a custom config value -/// and a reference to the shared utilities singelton. This is a quality-of-life +/// and a reference to the shared utilities singleton. This is a quality-of-life /// artifact to wrap other structs (usually configs) and attach the utilities -/// singelton entrypoint. +/// singleton entrypoint. pub struct WithUtils { pub utils: Arc, pub inner: C,