mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 09:51:10 +00:00
Get account nonce via state_call (#1002)
This commit is contained in:
@@ -27,7 +27,7 @@ pub use substrate::SubstrateConfig;
|
||||
pub trait Config: 'static {
|
||||
/// Account index (aka nonce) type. This stores the number of previous
|
||||
/// transactions associated with a sender account.
|
||||
type Index: Debug + Copy + DeserializeOwned + Into<u64>;
|
||||
type Index: Debug + Copy + Decode + Into<u64>;
|
||||
|
||||
/// The output of the `Hasher` function.
|
||||
type Hash: Debug
|
||||
@@ -42,7 +42,7 @@ pub trait Config: 'static {
|
||||
+ PartialEq;
|
||||
|
||||
/// The account ID type.
|
||||
type AccountId: Debug + Clone + Serialize;
|
||||
type AccountId: Debug + Clone + Encode;
|
||||
|
||||
/// The address type.
|
||||
type Address: Debug + Encode + From<Self::AccountId>;
|
||||
|
||||
Reference in New Issue
Block a user