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
4 changes: 2 additions & 2 deletions metadata/src/utils/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ fn get_custom_metadata_hash(custom_metadata: &CustomMetadata) -> Hash {
})
}

/// Obtain the hash of some custom value in the metadata including it's name/key.
/// Obtain the hash of some custom value in the metadata including its name/key.
///
/// If the `custom_value` has a type id that is not present in the metadata,
/// only the name and bytes are used for hashing.
Expand Down Expand Up @@ -1022,7 +1022,7 @@ mod tests {
First { b: u8 },
}

// Named fields contain a different semantic meaning ('a' and 'b') despite
// Named fields contain a different semantic meaning ('a' and 'b') despite
// being binary compatible, so hashes should be different.
assert_ne!(
to_hash(meta_type::<EnumD1>()),
Expand Down
4 changes: 2 additions & 2 deletions rpcs/src/methods/chain_head.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl<T: RpcConfig> ChainHeadRpcMethods<T> {
}

/// Stops an operation started with `chainHead_v1_body`, `chainHead_v1_call`, or
/// `chainHead_v1_storage¦. If the operation was still in progress, this interrupts it.
/// `chainHead_v1_storage`. If the operation was still in progress, this interrupts it.
/// If the operation was already finished, this call has no effect.
///
/// Has no effect if the `followSubscription` is invalid or stale.
Expand Down Expand Up @@ -417,7 +417,7 @@ impl<T: RpcConfig> ChainHeadRpcMethods<T> {
/// 1. Initialized - generated only once to signal the latest finalized block
/// 2. NewBlock - a new block was added.
/// 3. BestBlockChanged - indicate that the best block is now the one from this event. The block was
/// announced priorly with the `NewBlock` event.
/// announced previously with the `NewBlock` event.
/// 4. Finalized - State the finalized and pruned blocks.
///
/// The following events are related to operations:
Expand Down
2 changes: 1 addition & 1 deletion subxt/src/backend/combined.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ impl<T: Config> Backend<T> for CombinedBackend<T> {
// guarantees around the block handed back being pinned & ready to access.
self.chainhead(),
self.legacy(),
// archive last just incase chainHead & legacy fail or aren't provided for some
// archive last just in case chainHead & legacy fail or aren't provided for some
// reason.
self.archive(),
],
Expand Down