Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(subxt/src): typo fix #1370

Merged
merged 4 commits into from
Jan 17, 2024
Merged
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 subxt/src/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ pub enum TransactionStatus<Hash> {
/// 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 {
Expand Down
2 changes: 1 addition & 1 deletion subxt/src/backend/unstable/follow_stream_driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ impl<Hash: BlockHash> Shared<Hash> {
}
}

// 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.
Expand Down
4 changes: 2 additions & 2 deletions subxt/src/backend/unstable/follow_stream_unpin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ impl<Hash: BlockHash> Stream for FollowStreamUnpin<Hash> {

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))
}
Expand Down Expand Up @@ -364,7 +364,7 @@ impl<Hash: BlockHash> FollowStreamUnpin<Hash> {

// 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();
}
}
Expand Down
2 changes: 1 addition & 1 deletion subxt/src/backend/unstable/rpc_methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
2 changes: 1 addition & 1 deletion subxt/src/config/default_extrinsic_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl<T: Config> DefaultExtrinsicParamsBuilder<T> {
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 {
Expand Down
Loading