mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
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:
@@ -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
@@ -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");
|
||||
|
||||
@@ -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)+) => {
|
||||
$(
|
||||
|
||||
Reference in New Issue
Block a user