diff --git a/core/src/config/transaction_extensions.rs b/core/src/config/transaction_extensions.rs index 1c0bded5dd..b82b35ce4d 100644 --- a/core/src/config/transaction_extensions.rs +++ b/core/src/config/transaction_extensions.rs @@ -77,7 +77,7 @@ impl ExtrinsicParamsEncoder for VerifySignature { // Downcast refs back to concrete types (we use `&dyn Any`` so that the trait remains object safe) let account = account .downcast_ref::() - .expect("A T::AccoundId should have been provided") + .expect("A T::AccountId should have been provided") .clone(); let signature = signature .downcast_ref::() diff --git a/core/src/events.rs b/core/src/events.rs index dea5c4e3dd..7cbb1846dd 100644 --- a/core/src/events.rs +++ b/core/src/events.rs @@ -722,7 +722,7 @@ mod tests { let metadata = metadata::(); // Encode our events in the format we expect back from a node, and - // construst an Events object to iterate them: + // construct an Events object to iterate them: let event1 = Event::A(1); let event2 = Event::B(true); let event3 = Event::A(234); diff --git a/testing/integration-tests/src/light_client/mod.rs b/testing/integration-tests/src/light_client/mod.rs index 7ad88749ff..da35a2ef20 100644 --- a/testing/integration-tests/src/light_client/mod.rs +++ b/testing/integration-tests/src/light_client/mod.rs @@ -136,7 +136,7 @@ async fn storage_plain_lookup(api: &Client) -> Result<(), subxt::Error> { Ok(()) } -// Make a dynamic constant query for `System::BlockLenght`. +// Make a dynamic constant query for `System::BlockLength`. async fn dynamic_constant_query(api: &Client) -> Result<(), subxt::Error> { let now = std::time::Instant::now(); tracing::trace!("Check dynamic_constant_query"); diff --git a/utils/strip-metadata/src/lib.rs b/utils/strip-metadata/src/lib.rs index 82b9697548..ec88cd2744 100644 --- a/utils/strip-metadata/src/lib.rs +++ b/utils/strip-metadata/src/lib.rs @@ -442,7 +442,7 @@ mod test { use codec::Compact; use scale_info::meta_type; - /// Create dummy types that we can check the presense of with is_in_types. + /// Create dummy types that we can check the presence of with is_in_types. macro_rules! make_types { ($($name:ident)+) => { $(