chore: fix some typos (#1997)

* Update events.rs

* Update transaction_extensions.rs

* Update mod.rs

* Update lib.rs

---------

Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
Evelina Carl
2025-05-08 23:45:26 +10:00
committed by GitHub
parent 9ba89e3ed7
commit 411a807d50
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ impl<T: Config> ExtrinsicParamsEncoder for VerifySignature<T> {
// Downcast refs back to concrete types (we use `&dyn Any`` so that the trait remains object safe)
let account = account
.downcast_ref::<T::AccountId>()
.expect("A T::AccoundId should have been provided")
.expect("A T::AccountId should have been provided")
.clone();
let signature = signature
.downcast_ref::<T::Signature>()
+1 -1
View File
@@ -722,7 +722,7 @@ mod tests {
let metadata = metadata::<Event>();
// 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);
@@ -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");
+1 -1
View File
@@ -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)+) => {
$(