mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-30 15:39:49 +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:
1 parent
0fbeb31d50
commit
6a29a70a92
132 files changed
+234
-235
No files matched your search
@@ -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