diff --git a/subxt/src/backend/mod.rs b/subxt/src/backend/mod.rs index 3fb9782c53..3db06818b3 100644 --- a/subxt/src/backend/mod.rs +++ b/subxt/src/backend/mod.rs @@ -310,7 +310,7 @@ pub enum TransactionStatus { /// Number of peers it's been broadcast to. num_peers: u32, }, - /// Transaciton is no longer in a best block. + /// Transaction is no longer in a best block. NoLongerInBestBlock, /// Transaction has been included in block with given hash. InBestBlock { diff --git a/subxt/src/backend/unstable/follow_stream_driver.rs b/subxt/src/backend/unstable/follow_stream_driver.rs index fdca29723a..482bfd2543 100644 --- a/subxt/src/backend/unstable/follow_stream_driver.rs +++ b/subxt/src/backend/unstable/follow_stream_driver.rs @@ -240,7 +240,7 @@ impl Shared { } } - // Keep our buffer of ready/block events uptodate: + // Keep our buffer of ready/block events up-to-date: match item { FollowStreamMsg::Ready(sub_id) => { // Set new subscription ID when it comes in. diff --git a/subxt/src/backend/unstable/follow_stream_unpin.rs b/subxt/src/backend/unstable/follow_stream_unpin.rs index 3f055f9f4d..fe064f0707 100644 --- a/subxt/src/backend/unstable/follow_stream_unpin.rs +++ b/subxt/src/backend/unstable/follow_stream_unpin.rs @@ -206,7 +206,7 @@ impl Stream for FollowStreamUnpin { FollowStreamMsg::Event(FollowEvent::Stop) } - // These events aren't intresting; we just forward them on: + // These events aren't interesting; we just forward them on: FollowStreamMsg::Event(FollowEvent::OperationBodyDone(details)) => { FollowStreamMsg::Event(FollowEvent::OperationBodyDone(details)) } @@ -364,7 +364,7 @@ impl FollowStreamUnpin { // Any new futures pushed above need polling to start. We could // just wait for the next stream event, but let's wake the task to - // have it polled sooner, just incase it's slow to receive things. + // have it polled sooner, just in case it's slow to receive things. waker.wake_by_ref(); } } diff --git a/subxt/src/backend/unstable/rpc_methods.rs b/subxt/src/backend/unstable/rpc_methods.rs index ca1a38691b..331cb5459b 100644 --- a/subxt/src/backend/unstable/rpc_methods.rs +++ b/subxt/src/backend/unstable/rpc_methods.rs @@ -542,7 +542,7 @@ pub enum StorageResultType { ClosestDescendantMerkleValue(Bytes), } -/// The method respose of `chainHead_body`, `chainHead_call` and `chainHead_storage`. +/// The method response of `chainHead_body`, `chainHead_call` and `chainHead_storage`. #[derive(Debug, Clone, PartialEq, Eq, Deserialize)] #[serde(rename_all = "camelCase")] #[serde(tag = "result")] diff --git a/subxt/src/config/default_extrinsic_params.rs b/subxt/src/config/default_extrinsic_params.rs index 880591e7f0..dce83853bf 100644 --- a/subxt/src/config/default_extrinsic_params.rs +++ b/subxt/src/config/default_extrinsic_params.rs @@ -100,7 +100,7 @@ impl DefaultExtrinsicParamsBuilder { self } - /// Provide a tip to the block auther using the token denominated by the `asset_id` provided. This + /// Provide a tip to the block author using the token denominated by the `asset_id` provided. This /// is not applicable on chains which don't use the `ChargeAssetTxPayment` signed extension; in this /// case, no tip will be given. pub fn tip_of(mut self, tip: u128, asset_id: T::AssetId) -> Self {