mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-25 02:25:51 +00:00
Fix typos (#2112)
This commit is contained in:
@@ -62,7 +62,7 @@ pub trait OfflineClientAtBlockT<'client, T: Config + 'client> {
|
||||
// private to allow changes if possible.
|
||||
#[doc(hidden)]
|
||||
pub struct OfflineClientAtBlock<'client, T: Config + 'client> {
|
||||
/// The configuration for thie chain.
|
||||
/// The configuration for this chain.
|
||||
config: &'client T,
|
||||
/// Historic types to use at this block number.
|
||||
legacy_types: TypeRegistrySet<'client>,
|
||||
|
||||
@@ -133,7 +133,7 @@ impl<T: Config> OnlineClient<T> {
|
||||
};
|
||||
|
||||
let mut historic_types = config.legacy_types_for_spec_version(spec_version);
|
||||
// The metadata can be used to construct call and event types instead of us havign to hardcode them all for every spec version:
|
||||
// The metadata can be used to construct call and event types instead of us having to hardcode them all for every spec version:
|
||||
let types_from_metadata = frame_decode::helpers::type_registry_from_metadata_any(&metadata)
|
||||
.map_err(
|
||||
|parse_error| OnlineClientAtBlockError::CannotInjectMetadataTypes { parse_error },
|
||||
|
||||
Reference in New Issue
Block a user