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);