mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
Replace system config Index for Nonce (#14290)
* replace Index by Nonce * replace Index by Nonce * replace Index by Nonce * replace Index by Nonce * replace Index by Nonce * wip * remove index in lieu of nonce * wip * remove accountnonce in lieu of nonce * add minor improvement * rebase and merge conflicts
This commit is contained in:
@@ -30,13 +30,13 @@ use crate::{
|
||||
/// Get the type parameter argument without lifetime or mutability
|
||||
/// of a runtime metadata function.
|
||||
///
|
||||
/// In the following example, both the `AccountId` and `Index` generic
|
||||
/// In the following example, both the `AccountId` and `Nonce` generic
|
||||
/// type parameters must implement `scale_info::TypeInfo` because they
|
||||
/// are added into the metadata using `scale_info::meta_type`.
|
||||
///
|
||||
/// ```ignore
|
||||
/// trait ExampleAccountNonceApi<AccountId, Index> {
|
||||
/// fn account_nonce<'a>(account: &'a AccountId) -> Index;
|
||||
/// trait ExampleAccountNonceApi<AccountId, Nonce> {
|
||||
/// fn account_nonce<'a>(account: &'a AccountId) -> Nonce;
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user