mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 12:16:25 +00:00
Scale trait and move to u32 blocknumbers (#3357)
* Scale trait and move to u32 blocknumbers. * Fixes * Cleanups * Update node/runtime/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Fix up some of the factory stuff. * Update core/sr-primitives/src/traits.rs Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com> * Move Nonce/Index to u32 (#3361) * Force a non-borked version of upstream crate * Line lengths and runtime version bump
This commit is contained in:
1 parent
d1161b7d36
commit
14bb115193
29 files changed
+151
-82
No files matched your search
@@ -48,10 +48,10 @@ pub type AccountSignature = sr25519::Signature;
|
||||
pub type Hash = primitives::H256;
|
||||
|
||||
/// Index of a block number in the chain.
|
||||
pub type BlockNumber = u64;
|
||||
pub type BlockNumber = u32;
|
||||
|
||||
/// Index of an account's extrinsic in the chain.
|
||||
pub type Nonce = u64;
|
||||
pub type Nonce = u32;
|
||||
|
||||
/// Balance type for the node.
|
||||
pub type Balance = u128;
|
||||
|
||||
Reference in new issue
Block a user